I opened the energy_data.db using 'DB Browser for SQLite.exe' (https://sqlitebrowser.org/dl/) and noticed the value of 'idx' was empty in the entire column. Since 'idx' was left blank/empty to make the Tasmota switch to work.
'Index
Index of the relay, specifically used for multiple plug relay devices. Leave blank for single relay devices.'
So I manually edited the column for the field 'idx' to '1' in the db. Also, for some reason, the 'total' field was also blank so made it all to '0'. Then I pushed it back to the same location in the pi.
(~/.octoprint/data/tasmota/energy_data.db).
After a refresh, Voilà the graph worked!
I'm sure you can fix this issue! Please help with the same.


Thanks.
Originally posted by @esrpradeep in #18 (comment)
I opened the energy_data.db using 'DB Browser for SQLite.exe' (https://sqlitebrowser.org/dl/) and noticed the value of 'idx' was empty in the entire column. Since 'idx' was left blank/empty to make the Tasmota switch to work.
'Index
Index of the relay, specifically used for multiple plug relay devices. Leave blank for single relay devices.'
So I manually edited the column for the field 'idx' to '1' in the db. Also, for some reason, the 'total' field was also blank so made it all to '0'. Then I pushed it back to the same location in the pi.
(~/.octoprint/data/tasmota/energy_data.db).
After a refresh, Voilà the graph worked!
I'm sure you can fix this issue! Please help with the same.
Thanks.
Originally posted by @esrpradeep in #18 (comment)