You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good morning,
I found your project while looking to grab data from my Deye SunM60 and push it into my FHEM instance. Communication via mqtt2 works very well, thanks a lot for your work !
I am not a python specialist, so I ask for your support. Two things I would recommend to tune a little bit, to give more flexibility in implementation into other systems.
Option to change mqtt sending interval
I made a change to publish_loop.py and increased the time.sleep(1) to time.sleep(6) to publish data only once a minute. Maybe you can introduce a parameter to adjust the time period
change MQTT "name"
MQTT Server receives statement like "ha_services_v0.4.0_on_fhemserver:/homeassistant/sensor/inverter....."
As I don't use HomeAssistant but FHEM, I am not sure if the is needed for HA, for FHEM (or others) it could helpful to modify this. I was able to get rid of "homeassistant/sensor/" part by modifying "publish_loop.py", but I am not sure how to change the name part "ha_services_v0.4....". Maybe it's worth to introduce also for this item a parameter in user settings to choose this by himself.
Again, great work, it is "just" beautifying he MQTT output.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Good morning,
I found your project while looking to grab data from my Deye SunM60 and push it into my FHEM instance. Communication via mqtt2 works very well, thanks a lot for your work !
I am not a python specialist, so I ask for your support. Two things I would recommend to tune a little bit, to give more flexibility in implementation into other systems.
Option to change mqtt sending interval
I made a change to publish_loop.py and increased the time.sleep(1) to time.sleep(6) to publish data only once a minute. Maybe you can introduce a parameter to adjust the time period
change MQTT "name"
MQTT Server receives statement like "ha_services_v0.4.0_on_fhemserver:/homeassistant/sensor/inverter....."
As I don't use HomeAssistant but FHEM, I am not sure if the is needed for HA, for FHEM (or others) it could helpful to modify this. I was able to get rid of "homeassistant/sensor/" part by modifying "publish_loop.py", but I am not sure how to change the name part "ha_services_v0.4....". Maybe it's worth to introduce also for this item a parameter in user settings to choose this by himself.
Again, great work, it is "just" beautifying he MQTT output.
Cheers - Michael
Beta Was this translation helpful? Give feedback.
All reactions