I noticed an issue between the web and android dashboard.
So I have an ESP8266/Nodemcu device connected to Cayenne.
The device has 2 sensors:
- Channel 0: just a counter with the millis() value.
- Channel 8: a PIR motion sensor state.
- Icon: chartlet; Number of decimals: 0.
- Choose widget: Motion Detector; Choose Unit: Digital (0/1)
I’m using these lines in my code to submit:
Cayenne.virtualWrite(0, m); Cayenne.virtualWrite(8, state, "digital_sensor", "d");
Both work fine in the web dashboard.
However, in the android app dashboard the motion detector widget doesn’t show.
The widget for the millis() counter shows 2 decimals instead of zero.
Is this a bug or am I doing something wrong?