Define high? The temperature recorded for 5 amps. That’s 1kw in Europe only went up a few degrees. Even at ten amps it was well within operating range.
Driving some lights will at most 1 amp.
Now that their certificate is gone 404 is odd. Not because it is not safe but because Itead is generally very good at keeping this up-to-date. I will message them when I get home and I am sure that this will be corrected.
Apologies if this been asked already.
I’ve got sonoff basic with latest tastmota as of today. Openhab with sonoff basic with tasmota is working fine, but I don’t want to sonoff to be always on. so the way I wired the light switch is the light switch will power the sonoff then power on the lights. so I want to when I turn on the switch I want the lights to be on
I’ve tried this from the console “cmnd/sonoff01/PowerOnState 1”
the problem I have is if in openhab the last status of the switch is OFF, then I turn on the switch light, the light will stay on for about 3-5 sec then it will turn off. if the status of the light switch in openhab is ON then I turn on the light switch the light will stay on.
It seems the status is depended on the status of the switch in openhab.
I guess my first question is why you are controlling the Sonoff power with the switch rather than leaving it always on? If it’s an energy consumption concern (https://github.com/arendst/Sonoff-Tasmota/wiki/Energy-Saving), perhaps you want to consider the TASMOTA SLEEP option? I set my devices to SLEEP 250 which is a 75% duty cycle (off 25% of the time). These devices can be set to consume less than half a Watt/day with the SLEEP setting enabled. If it’s a safety concern, that’s probably unwarranted.
Also, you may be dealing with some latent MQTT retain issues. Review this tutorial to get a better understanding of retain issues - https://www.youtube.com/watch?v=31IyfM1gygo
Hey Guys I just made this pedal Wall Switch with a sonoff basic running tasmota, I just configured my MQTT server and its running along with OH2 flawlessly, but i got a problem, when I switch “On” state on my basic UI it turns ON normally, but if i switch OFF the pedal of the Switch I just made, it doesn’t report the state OFF on my Basic UI, so the state its always ON on Open Hab, when the Switch and the light are really OFF. Is it a problem with the state topic?? how can I connect or refresh the state on my basic UI??
I got the Switchmode1 4 is the one for fisic switches. When the sonoff its OFF everything its OFF, When I push the botton the relay on the sonoff goes ON and MQTT sends the “ON” stat. Am i missing something??? still can get in my basic UI the switch toggle together with the MQTT
tasmota doesn’t care about capitalisation for incoming topic, Your could send Power, power or POWER, it’s all the same.
BUT tasmota publishers power stat in capitals and openHAB is case sensitive for incoming topics.
For consistency sake ALL my switches use POWER in capitals, both for cmnd and stat topics.
Yes Sir, havw three Basics and on Pow with the mqtt binding working. The ist one pifall. If you define a switch for avaiablility based on the LWT message you need a command of anny kind to. Otherweise the thing will stay in initialisation state.
Changing this in my setup every thing works flawlessly. Kudos to @David_Graeff
I’m struggling with the first attempts to change from the MQTT1 to the new MQTT binding.
I got the connection to the broker but… structuring channels and items
Could you show us some kind of sample configuration for a Sonoff switch?
Hello everyone
I went crazy all afternoon behind this problem, I can’t see the ON OFF payload on OH2, I use Mosquitto as a broker.
The card is a NODEMCU with Tasmota 11, I need it to read the status of an MQ2 sensor (digitally) to detect any gas leaks.
The sensor is connected to the GPIO2 as Switch1. With MQTT.fx I read the payload ON / OFF … then the broker reads the payload. But not OH.
ITEMS:
Switch sensore_caldaia "sensore caldaia " <sensore_fumo> (sensori) {mqtt="<[mosquitto:stat/locale_caldaia/SWITCH1:state:default]" }```
sitemap:
Switch item=sensore_caldaia
rule:
rule "sensore gas caldaia"
when
Item sensore_caldaia changed
then
if (sensore_caldaia.state == ON ){
Thread::sleep(3000)
if (sensore_caldaia.state == ON) {
postUpdate (ON)
playSound("RedAlert .mp3")
Thread::sleep(1000)
playSound("attenzione_fuga_di_gas_nel_locale_caldaia.mp3")
sendTelegram("bot1", "ALLARME LOCALE CALDAIA!")
}
}
if (sensore_caldaia.state == CLOSED && timer === null) {
timer = createTimer(now.plusMinutes(5)) [|
timer = null
]
postUpdate (OFF)
}
end
I ask you for help, thank you, sorry for the mistakes but I'm pretty tired