Skip to content

Commit

Permalink
Update minimqtt_adafruitio_native_networking.py
Browse files Browse the repository at this point in the history
The newer versions of the miniMQTT library seem to break when  you put the whole key for the feed in there. `foo/feed/group.feed` no longer works ( [this breaks it](https://github.com/adafruit/Adafruit_CircuitPython_AdafruitIO/blob/ece3e396ccb5504558f6b11423a96d06a6dfb5c9/adafruit_io/adafruit_io.py#L43-L54) ), but instead it needs to be just `group.feed`.
manchicken authored Dec 29, 2024
1 parent 76f8c28 commit 54d9af3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -26,10 +26,10 @@
### Feeds ###

# Setup a feed named 'photocell' for publishing to a feed
photocell_feed = aio_username + "/feeds/photocell"
photocell_feed = "photocell"

# Setup a feed named 'onoff' for subscribing to changes
onoff_feed = aio_username + "/feeds/onoff"
onoff_feed = "onoff"

### Code ###

0 comments on commit 54d9af3

Please sign in to comment.