jneilliii / OctoPrint-Tasmota

62 stars 16 forks source link

Use separate scale/graph for power/cost #203

Open joneyes opened 1 year ago

joneyes commented 1 year ago

looking at the usage graphs, cost doens't seem to increment. I'm assuming total should be a total costs - so this doesn't climb either. Did i miss something in my settings? Tasmota 1 Tasmota 2 Tasmota 3 Tasmota 4 Tasmota 5

jneilliii commented 1 year ago

I'll have to go back and review why this might be happening. My last tests with this those numbers were definitely updating live. In the meantime, could you enable debug logging in the plugin's settings, restart OctoPrint and then let it run for a few minutes so the polling gets some data. I never personally tried less than 1 minute polling, and that might have something to do with it, but need to see how your tasmota is reporting and see how that data comes across in the log.

jneilliii commented 1 year ago

It's definitely incrementing for me with every status poll (assuming the math increases). Dug out an old POW R2 and connected to it from the plugin.

image

image

joneyes commented 1 year ago

Hi, Yes, i can see that now, looking back at mine. Apologies. Thanks for looking at it. It appears not to increment, as it's sharing the same scale as the power, and as costing is set to 0.31/KWh, it looks like it's flatlined.

May be an option is to put cost / total on the other side of the graph on an auto ranging scale and make the items selectable?

jneilliii commented 1 year ago

I've recently done something similar with Plotly Temp Graph plugin, so I can definitely look at this possibility.

joneyes commented 10 months ago

Hi, just wondering if you got around to this yet? If you haven't, no worries.

jneilliii commented 10 months ago

I have not had much time lately for plugin development because of work.

joneyes commented 10 months ago

I know how that feels..

I have a stack of stuff in a queue for spare time when I finish work testing..

Regards Jon Eyes Sent from my Galaxy

-------- Original message -------- From: jneilliii @.> Date: 31/10/2023 13:50 (GMT+00:00) To: jneilliii/OctoPrint-Tasmota @.> Cc: Jon Eyes @.>, Author @.> Subject: Re: [jneilliii/OctoPrint-Tasmota] Use separate scale/graph for power/cost (Issue #203)

I have not had much time lately for plugin development because of work.

— Reply to this email directly, view it on GitHubhttps://github.com/jneilliii/OctoPrint-Tasmota/issues/203#issuecomment-1787259825, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AU2Y66CWPBXDEZ3VDW3P3VDYCD6ZRAVCNFSM6AAAAAA3VWDMQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBXGI2TSOBSGU. You are receiving this because you authored the thread.Message ID: @.***>