Widgets: Voltage Graph: Date locked on Dec 31 6:00PM to Dec 31 6:00PM


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.


Note the blue line in live mode (as well the time updates every several seconds when data is received)


for digital actuator like relay, the line chart wont show history data.


Note the code is telling the API that it is voltage, not digital actuator, so as far as the graph is concerned it is getting voltage every 15 secs.


first of all are you sending any data to the channel 6


Yes, please see the second screenshot where there is a blue line right below 1.5 and the legend below ranges from Feb 1 @ 12:11PM to Feb 1 @ 12:11PM


3rd screen shot where I manually triggered the relay and screen captured:

Manual trigger again with minute selected:


i am editing your device right now. i am testing something.


can you check now?


Same behavior as 3rd and 4th screenshot

Please note that the graph in screenshot 3 has live selected
The same graph in screenshot 4 has minute selected.


did you refreshed your browser?


Yes, are you looking at the project or the device?


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.


Ok, I will stand by while you evaluate and test my last post :slight_smile: my appologies!


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:


Happy to do that but in order to implement what you are requesting I will have to take the device offline while updating changes and I am not home.

That said, I am now thinking there is a different bug with this widget / API.

There are now 2 widgets (both deleted and created today) connected to channel 6 and listening for voltage: “Relay Status - History” and “Relay Status - Live” both are showing live data yet but while “Relay Status - History” will show both live and historical data “Relay Status - Live” is only showing live data. Perhaps help me understand what would cause this?


i am not sure why the second one showing only live data (i guess it is listening to incoming data which is displayed on the chart). The issue is you should not use two widgets with the same channel.


My apologies! I read post #12 on this: "No data available for this period" for graph, live data is shown bug report and thought this was the correct implementation of that suggestion (turns out the 2 channel 2’s was probably a typo).

Based on your feedback, (and re-reading that post) the way I have been posting my dht11 data is what he was referring to; which means I should do the following:

Channel 1 : DHT11 Temperature (F) Reading -> Widget 1: Value
Channel 2 : DHT11 Temperature (F) Reading -> Widget 2: Gauge
Channel 3 : DHT11 Temperature (F) Reading -> Widget 3: Graph (Live)
Channel 4 : DHT11 Temperature (F) Reading -> Widget 4: Graph (Historical)
Channel 5 : Humidity Reading (Relative) -> Widget 5 : Value

1 Sensor, 5 channels

At this point all seems to be functioning, that said this isn’t something I plan to implement, I was just testing the solution I posted for Doubt - Events Offline

You may mark this post as resolved / not a bug


glad to hear you got it working.