I'm trying to use MQTT in it's most crude form, just for compatibility between platforms.
I'm trying Cayenne, because I really like the iOS app integration.
ESP8266 just using..
If I'd like to send a value to the dashboard, what would be the correct format?
In the DOCs section, found that we need to send it like this..
I guess it's..
1) This would be the correct way of sending data to Channel 10?
client.publish("v1/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/things/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/" valueStr "/10");
I believe the PubSub library would expect something like..
Which indeed is a different format.
Another related question:
2) How do I subscribe to this same "topic", from another esp8266?
Thanks in advance for your time..