Line: 1 to 1 | |||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() Slide 1: Setting up an IoT | |||||||||||||||||||||||||||||||
Line: 74 to 74 | |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
Added: | |||||||||||||||||||||||||||||||
> > | Changed Callback![]() Missing functions in IoT
Cayenne functionality
![]() Signing up for CayenneSign up athttps://mydevices.com/cayenne/signup ![]() ![]() Cayenne Start![]() Cayenne DocYou find the documentation at https://mydevices.com/cayenne/docs/intro![]() ![]() Installing Cayenne on the Raspberry PI![]() Installing Cayenne on the Raspberry Pi manually![]() Register your Controller Single Board Computers![]() Run Cayenne on the Arduino![]() Basic Arduino Sketch for the Arduino![]() Cayenne Credentials![]() Cayenne network layers![]() Value and units are integrated into the payload string Cayenne and PythonThis falls under “bring your own thing” !Having a look at the Arduino sketch you can see that it uses the Arduino Cayenne C++ library. Cayenne MQTT libraries are available in
Cayenne and MicropythonThe Python Cayenne Client library depends on the Eclipse Paho MQTT libraryMicropython uses its own, stripped down “umqtt” (micro mqtt) library such that the standard Cayenne Client does not work on Micropython but … The Python Cayenne Client is Open Source and can be adapted to umqtt, which is what I did for you. The adapted Client library uses the same API as the original one, which means that the example programs work unchanged. The Cayenne ClientWhen creating a Cayenne Client Class it
The code to connect to Cayenne![]() Connecting to Cayenne![]() The empty Cayenne dashboard![]() | ||||||||||||||||||||||||||||||
%SLIDESHOWEND%
-- ![]() | |||||||||||||||||||||||||||||||
Line: 94 to 222 | |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
Added: | |||||||||||||||||||||||||||||||
> > |
|