User Tools

Site Tools


tjsupport:sonoffsolution

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tjsupport:sonoffsolution [2021/12/01 13:11]
topmin
tjsupport:sonoffsolution [2022/08/09 15:20] (current)
Line 30: Line 30:
 ====== SONOFF Switch Stuff ====== ====== SONOFF Switch Stuff ======
  
 +== switch on directly via console ==
 +mosquitto_pub  -h [mqtthost] -t cmnd/sonoff/10/POWER -m "ON"
 +== switch off directly via console ==
  
 +mosquitto_pub  -h [mqtthost] -t cmnd/sonoff/10/POWER -m "OFF"
  
 +== Example for openhab .items file ==
 +<code>
 +Switch SONOFF10 "Heiz Pumpe" (HVAC) {mqtt=">[mosq:cmnd/sonoff/10/POWER:command:ON:ON],>[mosq:cmnd/sonoff/10/POWER:command:OFF:OFF],<[mosq:stat/sonoff/10/POWER:state:default]"}
 +
 +</code>
 +== Example for openhab .sitemap file ==
 +<code>
 +Frame label="HVAC" icon="heating" {
 +     Switch item=SONOFF10
 +}
 +
 +</code>
 ====== More Commands ====== ====== More Commands ======
 https://tasmota.github.io/docs/Commands/#rf-bridge https://tasmota.github.io/docs/Commands/#rf-bridge
 +
 +====== Flashing new devices ====== 
 +[[:tasmotabuild]]
 +
  
tjsupport/sonoffsolution.1638360696.txt.gz ยท Last modified: 2022/08/09 15:20 (external edit)