tbnobody / OpenDTU

Software for ESP32 to talk to Hoymiles/TSUN/Solenso Inverters
GNU General Public License v2.0
1.76k stars 489 forks source link

[Request] Add command relay with mqtt #1837

Open crashcoq opened 5 months ago

crashcoq commented 5 months ago

Is your feature request related to a problem? Please describe.

Hello

is it possible to add a function that controls one or two relays independently via mqtt? For example, to make a solar router with available PINs. MQTT is only used to enable/disable the relay. The whole intelligent part is in home assistant / domoticz / jeedom

Describe the solution you'd like

add a menu with only mqtt number and the output relay

Describe alternatives you've considered

No response

Additional context

No response

MetaChuh commented 5 months ago

@crashcoq

can your task be achieved, by controlling one or both of the opendtu LED gpios, by instead of driving a led, controlling one or more relays ?

note: as this is already open now at issues, please leave it here. for future similar requests, please use the Discussions area, as it helps us to distinguish between possible functionality issues and requests/questions.

greetings, metachuh