I’m impressed with the features and ease of use with Cayenne. What I’m trying to determine is how to perform math on sensor data. Is this possible with Cayenne? I’m seeing mentions of “custom code” with Arduino and if I interpret correctly, the only way to do it on Raspberry Pi is using it as a Bring Your Own Thing (BYOT), but I don’t want to lose the ease of setup using the widgets.
Here is what I think I want to do with my project.
- Read supported digital sensor values
- Read an analog value (I do have the option of going through an ADC for Raspberry Pi) and filter this value somehow. I do see that some inputs have filtering options.
- Based on those values and some logic, actuate some different digital outputs. 4. The math and logic on the inputs and outputs is more complicated than just greater than or equal.
- I can currently re-program on the device for my project, but what I like about Cayenne is the cloud/mobile phone app bi-directional capability.
I’ve already got some Raspberry Pi’s, Arduino’s (including MKR1000) and a Photon, so I’m open to options, just looking for the most straightforward. I have yet to find the ideal platform. Cayenne looks close, but the current lack of custom code for inputs and outputs looks to be my major showstopper. I also saw some mention of custom Python code in the works, is this happening?