5/25/2023 0 Comments Use sonoff basic r3 as timerLocal Humidity = jS.įibaro:setGlobal("SonoffFanGuestEnsT", Temp)įibaro:setGlobal("SonoffFanGuestEnsH", Humidity)įibaro:call(device,"setProperty","ui.temp.value", Temp." C")įibaro:call(device,"setProperty","ui.humidity.value", Humidity." RH") Local port = fibaro:getValue(device, "TCPPort")įibaro:call(device,"setProperty","ui.extfan.value", "Off")įibaro:call(device, "setProperty", "currentIcon", 1085)įibaro:call(device,"setProperty","ui.extfan.value", "On")įibaro:call(device, "setProperty", "currentIcon", 1006)įibaro:debug("Sonoff appears to be offline")įibaro:call(device,"setProperty","ui.status.value", "OFFLINE") Local ipaddress = fibaro:getValue(device, "IPAddress") I am enclosing the script from the main loop. The problem is that it does not change my status from On to Off in the module. I have a script adapted by Frank "Extractor_Fan.vfib". Is there such a command available that I could use? How would you solve my issue? On the other side I was disappointed to see, that Tasmota will not provide such functionality, yet there might be a command for that which in turn could be adapted so that Fibaro HC2 could send a pulse only to the Sonoff. This is a perfect solution to open/close a garage door. Since a while there is a new Sonoff firmware available, that provides a so called "inching" feature, this would have the effect of a pushbutton, so it only closes the pins of the relay for a time equal or greater than 0,5 seconds. Please login or register to see this link. Please login or register to see this image. Running a bathroom extractor fan (sensor above fan in extractor tube) Please login or register to see this attachment. Please login or register to see this code.ġ00 - start value, 0 - end value, 1 - decrement valueĬounter Lights VD (this controls 2 RGB modules, colors displayed by the presets may vary with your led strip) Note: there is a space in the command string that is represented by the typical %20 representation ![]() Did anyone have any success with http commandĪssuming you have flashed the device with Tasmota , adjust IP to suit
0 Comments
Leave a Reply. |