Closed Reneke43 closed 4 years ago
Interesting, I've just checked mine, and it works fine. It appears though, that it loads the log first. Try disabling the log display and see if the other parts load..
Uhm, and how/where would I do that? 😳 In the mean time I've tried Safari, Chrome and Firefox on my Mac and IE, Edge, Chrome and Firefox on Windows; I think it's fair to conclude it's not a browser/OS related issue...
Sry for the delay. Go into the code and comment out the log display.
I got the same issue. It seems that at least the option [database] log = 0 causes this. I think because only when log is enabled, the $inverters{$inverter}{"data"} structure is filled, which is used by the webserver to display data.
I just saw your comment kiekerjan. I just found out the same after reinstalling the script on a clean Ubuntu server. To prevent a lot of writes to my SSD disk, I disabled the log. The first time I did this on my RPi, I didn't check the web interface. So when I did check it a few weeks later, I didn't connect the dots anymore. However, I'm no expert at Perl scripting. Is there a way to solve this and get the values for the web view somewhere else? Straight from the variables in stead of the database/log?
do you have a db.sqlite file at all? That may be the culprit
Yep, dB.sqlite is present and is being updated, as long as I have set “log = 1” in the ini file. As soon as I set “log = 0”, the webinterface changes.
@Reneke43 I solved this in the referenced pull request. Unfortunately, It has become quite an involved change, including some database juggling and what not. If you only want that change, you'll still need some perl knowledge. But, I did not have that either when I started this so it shouldn't be too difficult. I have tested this for about 10 days, and it seems to be working as expected.
I've had this problem for quite some time now. I didn't look into it, because the values are pushed to my Domoticz server correctly. But I would like to know what's happening here. I only see the log window and no live output.