Hi All,
I am using a WiPy and I am trying using micropython to control a digital pin on my WiPy by pushing a digital button in Cayenne interface.
I am behind a router, so I have forwarded the external IP to the internal IP of the WiPy at port 1883, but it doesn’t seem to work.
What is the exact topic I have to subscribe in order to “catch” the button press?
For publishing I am using topic “v1/CLIENT_ID/things/USER_NAME/data/CHANNEL_NUMBER”
What should I use for the command button on Cayenne?
I also have included the following lines of code:
client.set_callback(sub_cb)
client.connect()
where the sub_cb function just prints the message “Button pressed in Cayenne Dashboard…”
Thanks! Hope you can help me on this