Skip to content

Commit 54d9af3

Browse files
authored
Update minimqtt_adafruitio_native_networking.py
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`.
1 parent 76f8c28 commit 54d9af3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/native_networking/minimqtt_adafruitio_native_networking.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
### Feeds ###
2727

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

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

3434
### Code ###
3535

0 commit comments

Comments
 (0)