drobtravels / solaredge-local

Information about local API for SolarEdge Inverters
58 stars 12 forks source link

Exemple Code python solaredge-local2mqtt.py #21

Open robotsflo opened 5 years ago

robotsflo commented 5 years ago

Hi,

My knowledge in scripting in python is limited. I need your help to create a example of code to push data from solaredge-local to mqtt.

I have seen this API is used by homeassistant but mqtt is a protocol supported by all of smart home software, perhaps it's a good beginning : https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/solaredge_local/sensor.py

robotsflo commented 5 years ago

and a MQTT code for cloud solaredge solution: https://github.com/jbuehl/solaredge/blob/master/conversion/se2MQTT.py