kizniche / Mycodo

An environmental monitoring and regulation system
http://kylegabriel.com/projects/
GNU General Public License v3.0
2.94k stars 492 forks source link

Asynchronous Graphs results in a empty graph if the unit are kWh. #1267

Open putte110 opened 1 year ago

putte110 commented 1 year ago

Asynchronous Graphs from kWh results in a empty graph.

I had version 8.14.2 running, to my great satisfaction, one of the inputs measures the electricity consumption (kWh). I've found that since the update to version 8.15.1 Asynchronous Graphs from the electricity consumption results in a empty graph. I've changed the units of this input , from kWh to Angle(degrees), and the historical measurements reappear. With the update to version 8.15.4, i had adjusted the units back from(Angle to kWh), and it didn't work again.

kizniche commented 1 year ago

Please provide detailed steps to replicate the behavior you're experiencing.

putte110 commented 1 year ago

Thanks for your email

The program was running fine until I ran the update from Mycodo 8.14.2 to Mycodo 8.15.1 I then ran with rpi 32 bit keyboard settings Belgium Mycodo 8.14.2. After the update to Mycodo 8.15.1 my rpi has crashed. I then reinstalled the system 32 bit and Import Mycodo Settings Data from ZIP(Mycodo 8.14.2). Everything worked well except the kWh hystories. I let the system continue to run until a new update became available.

I then reinstalled the system 64 bit db2.x. and Mycodo version 8.15.4 and Import Mycodo Settings Data from ZIP(Mycodo 8.15.1). Everything worked well again except the kWh hystories.

Because the hystorics of watts and degrees of other inputs worked, I then adjusted the unit from kWh to Angle(degrees) in the input settings of the kWh meter, and the hystorics of kWh worked again, but then of course indicated Angle(degrees).

If you need any more info I want to make a new test project next week and send it to you, unfortunately I can't find Mycodo version 8.14.2 anymore.

Sincerely

On Sat, Jan 21, 2023, 10:02 PM Kyle Gabriel @.***> wrote:

Please provide detailed steps to replicate the behavior you're experiencing.

— Reply to this email directly, view it on GitHub https://github.com/kizniche/Mycodo/issues/1267#issuecomment-1399331976, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5MA7ZBXXKRLGDRTPQ2P6C3WTRFGRANCNFSM6AAAAAAUB7YEDU . You are receiving this because you authored the thread.Message ID: @.***>

putte110 commented 1 year ago

I reinstalled everything again and instead of reloading the backup I programmed everything back. Everything works as it should. Apparently something went wrong while making the backup from Mycodo 8.14.2. "Mycodo Settings Data from ZIP".

Sincerely

On Sat, Jan 21, 2023, 10:02 PM Kyle Gabriel @.***> wrote:

Please provide detailed steps to replicate the behavior you're experiencing.

— Reply to this email directly, view it on GitHub https://github.com/kizniche/Mycodo/issues/1267#issuecomment-1399331976, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5MA7ZBXXKRLGDRTPQ2P6C3WTRFGRANCNFSM6AAAAAAUB7YEDU . You are receiving this because you authored the thread.Message ID: @.***>