Cayenne shows the voltage in live mode, but shows no data available for all but live graph modes: Legend shows for all but live: Start Date: Dec 31 6:00PM End Date: Dec 31 6:00PM
This should show a spike up when the “voltage” is on, and drop when the “voltage” is off. Since it is a graph you see a square wave over time. Instead I get this:
Before I realized the issue I switched it the widget and code to use channel 6 last night, but the relay in question is live both irl and on dashboard (Humidifier Control & Graph are the same relay different reporting channels)
Looking at the live graph the on / ‘1’ digital state graphs right below 1.5 and is updating, device has been up for 32000+ms so there should be data available for minute, hour and day options.
Actually, I am seeing a different bug… While talking to you and trying to show what I was seeing I added an additional graph to the Project connected to the same channel with the same settings…(I was planning on having one “live” and one historical for screen capturing)… The one called channel 6 wouldn’t show historical (time based) graph, the one called Relay Status - Live was showing everything.
I just removed the Channel 6 Graph, recreated the Live graph as historical and now both of the new graphs are working as expected.
To confuse / clarify things: If you switch to viewing these widgets / channels from the device: Relay Status - Live (just a name, no settings changes) won’t show historical data if you pick anything other than live
please do not change anything, let’s handle one bug at a time.
i have made changes to your device and now the data is shown in history.
I guess the procedure you are using is adding a line chart widget from the dashboard. that is not the correct way to do it.
the correct way is: when you publish data from your device with the correct data type, a green temporary widget will be created. you need to add it by clicking on + on the top right of the widget.
next, go to setting of this widget and change the widget type to value.
in your case where you want to view two line chart, use two different channel which will create two different widgets.
i hope you understand your mistake.
i want you to make the changes now.
first, delete both the line chart widget. add another line of code which publishes data to another channel and follow this: