negative value electricity meter

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.
Post Reply
ropske
Posts: 232
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

negative value electricity meter

Post by ropske » Monday 04 September 2017 20:50

Hi,

after the last update (8373) i got negative values for total electricity
please see screenshot.

Anyone knows how this comes and how to solve it?
Attachments
2017-09-04 20_47_43-Microsoft Edge.jpg
2017-09-04 20_47_43-Microsoft Edge.jpg (62.47 KiB) Viewed 376 times

ropske
Posts: 232
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: negative value electricity meter

Post by ropske » Monday 18 September 2017 9:26

anyone?

gordonb3
Posts: 551
Joined: Friday 22 January 2016 11:15
Target OS: Linux
Domoticz version: custom
Location: The Netherlands
Contact:

Re: negative value electricity meter

Post by gordonb3 » Monday 18 September 2017 10:06

There was no recent change to this part of the code. However, your profile states that you are on build 6235 - is that where you came from? I have a vague recollection that someone else mentioned this same issue a while back, but I don't really know how (s)he solved it. You should be able to find it using the search dialogue in the top of this page.
Excito B3 running Gentoo Linux, P1, Rfxtrx433 to read and control TFA, KaKu, EvoHome RFG100
Custom patched Domoticz v3.8000

ropske
Posts: 232
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: negative value electricity meter

Post by ropske » Monday 18 September 2017 12:59

Yes, my profiel needs to be updated but when i check the actual log file, it shows the correct value


Verzonden vanaf mijn iPhone met Tapatalk

ropske
Posts: 232
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: negative value electricity meter

Post by ropske » Tuesday 19 September 2017 20:57

gordon, if this is the link:
http://www.domoticz.com/forum/viewtopic ... ue#p110029

it is also from me asking the same problem :lol:

gordonb3
Posts: 551
Joined: Friday 22 January 2016 11:15
Target OS: Linux
Domoticz version: custom
Location: The Netherlands
Contact:

Re: negative value electricity meter

Post by gordonb3 » Tuesday 19 September 2017 21:26

Knew I'd seen it before. Doesn't help you of course...

Is it an option to try and see what happens if you start with a fresh database?
Excito B3 running Gentoo Linux, P1, Rfxtrx433 to read and control TFA, KaKu, EvoHome RFG100
Custom patched Domoticz v3.8000

ropske
Posts: 232
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: negative value electricity meter

Post by ropske » Tuesday 19 September 2017 21:38

I allready did that after my last post last year and it helped, but if i need to do this again. Its not the idea


Verzonden vanaf mijn iPhone met Tapatalk

ropske
Posts: 232
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: negative value electricity meter

Post by ropske » Tuesday 19 September 2017 21:39

That why im using the logs to see what is happening in my house


Verzonden vanaf mijn iPhone met Tapatalk

gordonb3
Posts: 551
Joined: Friday 22 January 2016 11:15
Target OS: Linux
Domoticz version: custom
Location: The Netherlands
Contact:

Re: negative value electricity meter

Post by gordonb3 » Thursday 21 September 2017 16:15

Okay, but if it works with a fresh database that is in indication that the format of your current database has some kind of error. What you could try is to export the current database content:

Code: Select all

sqlite3 backup.db .dump | grep ^INSERT > backup.sql
Then import this content into a newly created database:

Code: Select all

sqlite3 domoticz.db ".read backup.sql"
Excito B3 running Gentoo Linux, P1, Rfxtrx433 to read and control TFA, KaKu, EvoHome RFG100
Custom patched Domoticz v3.8000

ropske
Posts: 232
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: negative value electricity meter

Post by ropske » Wednesday 15 November 2017 23:46

I'm still the only person with this problem? :o
I'm currently at v3.8720

Thanks

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests