DejanBukovec / Shelly_Script_Hoymiles_ZeroExport

GNU General Public License v3.0
1 stars 0 forks source link

compatibility with OpenDTU software #1

Open rradkov opened 2 months ago

rradkov commented 2 months ago

Hey Happy to see that you've made the scripts that can be triggered on shelly device. So far I was not able to test it out but hopefully in the next few days I'll test it out !

Quick question thought: Is it compatible with OpenDTU ? Can you please make some sort of documentation and so on in order to be easier for us to understand or how to troubleshoot it?

DejanBukovec commented 2 months ago

Hi @rradkov,

Script is not compatible with OpenDTU. OpenDTU use different API calls so script will need to be modified a lot. I know that because in my other ESP32 project which control zeroexport on hoymiles inverters by OpenDTU or AhoyDTU and read power usage data from Shelly, MQTT or HomeAssistant I need implement both(AhoyDTU and OpenDTU) options...

You need to setup parameters before line "// DO NOT CHANGE AFTER THIS LINE !!!". Near each setting there is also quick explaination what it mean and if there are different options which are availible... If something is not clear what it mean let me know... Script have also a lot of debugging lines and if you in configuration set DEBUG from false to true you will see in script debug window a lot of debugging lines...

Please also note that script has been written in september 2023 and I don't use it anymore because Im switch to my custom ESP32 solution but as remember AhoyDTU in this time didnt change any API calls. Open DTU API is changed after version 24.1.26 ...