I'm using mqtt with gpio/17 topic to change my relay state.
I just follow some examples over the internet. However, I was wondering, and couldn't find an appropriate answer.
Why I can't set it by device name?
SW01/Value
I need to implement a Rule for it?
Can I control my device by its name?
Moderators: grovkillen, Stuntteam, TD-er
-
- Normal user
- Posts: 45
- Joined: 07 Dec 2020, 15:33
Re: Can I control my device by its name?
What application is using the MQTT topics?
Domoticz/OpenHAB/etc. (there are many)
Domoticz/OpenHAB/etc. (there are many)
-
- Normal user
- Posts: 45
- Joined: 07 Dec 2020, 15:33
Re: Can I control my device by its name?
I use NodeRed with Mosca Aedes server. For ESPEasy I just selected Home Assistant (openHAB) MQTT.
-
- Normal user
- Posts: 45
- Joined: 07 Dec 2020, 15:33
Re: Can I control my device by its name?
Hi there, I'm still looking for some help. thanks
Re: Can I control my device by its name?
You can use the MQTT Import plugin and subscribe to the topic that should change the state, currently there is only 'old' documentation on the Wiki, here. That should get you going, I hope.
I've worked on a PR #3424 to improve and extend that plugin, (and includes updated ReadTheDocs documentation), but that's not merged yet.
I've worked on a PR #3424 to improve and extend that plugin, (and includes updated ReadTheDocs documentation), but that's not merged yet.
/Ton (PayPal.me)
-
- Normal user
- Posts: 45
- Joined: 07 Dec 2020, 15:33
Who is online
Users browsing this forum: No registered users and 14 guests