Skip to content
This repository has been archived by the owner on Nov 25, 2023. It is now read-only.

Takeover message definitions #4

Open
tobylorenz opened this issue Jan 7, 2021 · 4 comments
Open

Takeover message definitions #4

tobylorenz opened this issue Jan 7, 2021 · 4 comments

Comments

@tobylorenz
Copy link

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

@nmakel
Copy link
Owner

nmakel commented Jan 7, 2021

Impressive job. Thanks for letting me know.

@tobylorenz
Copy link
Author

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.

@nmakel
Copy link
Owner

nmakel commented Jan 11, 2021

Interesting methodology. I've been referencing the compiled python definitions to derive my own .proto files.

@tobylorenz
Copy link
Author

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. ;-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants