Sonoff Pow with Tasmota: HowTo MQTT?
-
Hi,
I´ve successfully flashed Tasmota to my Sonoff Pow and I see it´s connected to my MQTT Broker, but I haven´t understood how to send commands to the Pow over MQTT.
e.g. in the docs they are saying this:
*To execute these, issue (publish) these MQTT requests
MQTT topic MQTT payload
cmnd/my_device/power <empty>
cmnd/my_device/power on
cmnd/my_device/power off*But actually the device is not turning off or on. One imortant thing is I don´t know what is "my_device".
Finally I need to know how I could best combine this device with my Openhab2 and Mysesnsors setup.Any help is appreciated, thanks in advance!
-
my_device is your device name, you should read it in the code or into the settings, or just subscribe to # with a mqtt client and reboot the sonoff, you should see the sonoff publishing to some topics. Using the sonoff over mqtt is out of the scope of mysensors as it is would get controlled by the controller (OpenHab, Domoticz, HA, etc)
Suggested Topics
-
Over the air updates
General Discussion • 23 Mar 2014, 21:38 • ToSa 1 Mar 2015, 11:21 -
Does MySensors require Arduino Timer 2?
Hardware • 6 Jan 2024, 19:39 • OldSurferDude 11 Jan 2024, 04:39 -
Arduino Nano Every problem
Hardware • 1 Feb 2020, 09:18 • hakha4 5 Dec 2023, 02:21 -
hlk-pm01 are to noisy for rfm69?
Hardware • 5 Aug 2023, 21:16 • Tmaster 9 Aug 2023, 16:28 -
Sleep mode for bmp280
Hardware • 20 Feb 2018, 13:24 • fishermans 5 Feb 2024, 18:30 -
Sensor to detect marijuana vape/smoke
Hardware • 21 Jan 2025, 06:36 • Hellmark 25 Feb 2025, 20:56