Open FunkyM opened 6 years ago
Do Smappees auto-update? I mean: can we assume that all devices are affected by this change, so we don't have to support 2 interfaces?
If not: do we know what software version to check for?
Hello Jan, Smappee has some kind of Auto-update mechanism. My Smapee (1,5 years old) has updated itself. The statistic Info shows "27/03/2018 19:07:03" as date for Last software update. The values for "Application software version and build nr " are " 1.0.0S buildNr #1185" The local Smappee works perfect in my system.
The info, which Martin S. posted above , shows "29/03/2018 09:46:10" as date of last update. However application software version and build nr. are the same "1.0.0S buildNr #1185\n"
My assumption is, that Smappe notes,when it is looking for an update (Last software update) rather the point in time, when it is actually performing an update? A bit mysterious, that the buildNr are the same, but the required local Smappee code is different.
So if I understand it correctly, you both have a Smappee with the same software version and build number, yet the current code works for @martintamke and not for @FunkyM? Aren't we missing something here?
As the title says the current LocalSmappee does no longer work due to changes in the commandControl interface. The current calls return a HTTP Status 500.
I implemented the following to make it work:
Calling "get_statistics_report" which is an oddly named call to get information about smappee returns:
Some of the data was masked by me with 'X'.
I assume the solution would be to check for the smappee software version during logon and depending on it use the legacy or new interface.