Closed dragoshenron closed 6 years ago
You are correct the JSON is truncated because Smappee is trying to supply too much information.
Looking at your log: 2018-04-11 14:45:02 - Previous Time Stamp 1523373903 2018-04-11 14:45:02 - Current Time Stamp: 1523457902 So Smappee is trying to supply information between 1523373903 and 1523457902.
The error should be fixed by setting SmappeeTimestamp to value closer to current time stamp - so if look at the end of the current log and set it to 400 less than that value, so with data above set it to 1523457502, then after 5 - 10 minutes it should collect a value. It should also recover if you set SmappeeTimestamp to 1, then it will work out latest time itself.
Thank you @steps39 I follow your advice (SmappeeTimestamp = CurrentTimestamp - 400) and now I have regular updates.
You can close the issue. Cheers :)
Hello @steps39. Thanks for the great script.
I have an issue though, which does't seems related with the new roll-out of MQTT protocol for the plugs.
I have followed all the steps required for the installation of such script and everything went well up to december last year. Since then I (=Domoticz) don't get anymore updates.
This is a piece of the log file
While the log.errors is:
It looks like the JSON is truncated so becomes invalid. I thought something was wrong with 'SmappeeTimestamp' user variable which was indeed not update since the fault (decembre 2017). I updated manually to the current time but still, I get the same issue.
Any idea?
Cheers, Alex