Line: 1 to 1 | |||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Slide 1: Setting up an IoT | |||||||||||||||||||||||||||||||
Line: 74 to 74 | |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
Added: | |||||||||||||||||||||||||||||||
> > | Changed CallbackMissing functions in IoT
Cayenne functionality
Signing up for CayenneSign up athttps://mydevices.com/cayenne/signup Cayenne StartCayenne DocYou find the documentation at https://mydevices.com/cayenne/docs/intro Contains short introductory video clips, information of Cayenne on Raspberry Pi and Arduino but also how to use Cayenne on any device. Pointers to the Cayenne MQTT Libraries and their APIInstalling Cayenne on the Raspberry PIInstalling Cayenne on the Raspberry Pi manuallyRegister your Controller Single Board ComputersRun Cayenne on the ArduinoBasic Arduino Sketch for the ArduinoCayenne CredentialsCayenne network layersThe Cayenne credentials are integrated into the MQTT topic stringValue 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 CayenneConnecting to CayenneThe empty Cayenne dashboard | ||||||||||||||||||||||||||||||
%SLIDESHOWEND% -- Uli Raich - 2019-05-14 | |||||||||||||||||||||||||||||||
Line: 94 to 222 | |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
Added: | |||||||||||||||||||||||||||||||
> > |
|