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/10/05 16:16]
topmin
tjsupport:sonoffsolution [2022/08/09 15:20] (current)
Line 1: Line 1:
 +====== RFBridge Stuff ======
 +
 +
 === Listen on whats the rfbridge is sending === === Listen on whats the rfbridge is sending ===
-mosquitto_sub -v -t tele/# -t stat/#+mosquitto_sub -h [mqtthost] -v -t tele/# -t stat/#
  
 === Tasmota MQTT Commands for learning new RF Senders === === Tasmota MQTT Commands for learning new RF Senders ===
Line 21: Line 24:
  
  
-== Status abfragen (bei mir)...gibt z.b. ip addresse ==+== query status example (bei mir)...gibt z.b. ip addresse ==
 mosquitto_pub  -h [mqtthost] -t cmnd/sonoff/30/STATUS -m "0" mosquitto_pub  -h [mqtthost] -t cmnd/sonoff/30/STATUS -m "0"
  
  
-== More commands ==+====== 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 ======
 https://tasmota.github.io/docs/Commands/#rf-bridge https://tasmota.github.io/docs/Commands/#rf-bridge
 +
 +====== Flashing new devices ====== 
 +[[:tasmotabuild]]
 +
  
tjsupport/sonoffsolution.1633443411.txt.gz · Last modified: 2022/08/09 15:20 (external edit)