Open tobylorenz opened 3 years ago
Impressive job. Thanks for letting me know.
Yes, was fun to do. I just gave it an update and also uploaded the development scripts, I'm using.
There is still one issue with a duplicate enum label, which is included in the original web-set-app. The original protoc Javascript compiler complains, when using same enum labels. So I guess, SolarEdge is using a different one.
Interesting methodology. I've been referencing the compiled python definitions to derive my own .proto files.
I first recovered the proto files based on the original web-set-app Javascript. Then to test it, I ran "protoc" to generate new Javascript codes from the proto files. Afterwards I changed the proto files until the original and the generated Javascript matched. ;-)
My home automation and monitoring is based upon MQTT (mosquitto), so the next step for me is to write a program to retrieve the numbers and put them into MQTT. ;-)
Hi,
I worked through the web-set-app_1_6_9.js.gz and retrieved all contained protobuf definitions. In case you are interested to take them over into your project, they are located here: https://github.com/tobylorenz/solaredge-web-set-app
Bye Tobias