vandy Posted Friday at 05:28 PM Author Posted Friday at 05:28 PM Hi TriLife, thank you for getting back with me. That info did help and I did get it working. The following is what I had in my devlist and did not work: [ {"id": "sonoff01", "type": "s31", "status_topic": "tele/sonoff01/SENSOR", "cmd_topic": "cmnd/sensor/POWER"}, {"id": "sonoff01", "type": "switch", "status_topic": "stat/sonoff01/POWER", "cmd_topic": "cmnd/sonoff01/power"}, {"id": "sonoff02", "type": "switch", "status_topic": "stat/sonoff02/POWER", "cmd_topic": "cmnd/sonoff02/power"} ] Sonoff01 worked as sensor device and sonoff02 worked as a control device but sonoff01 did not work as a control device. I changed the following and now sonoff11 is working as a Ctrl device also. Would you tell me the things I changed but did not need to change. [ {"id": "sonoff01", "type": "s31", "name": "Washer Power", "status_topic": "tele/sonoff01/SENSOR", "cmd_topic": "cmnd/sensor/POWER1"}, {"id": "sonoff11", "type": "switch", "name": "Washer Ctrl" "status_topic": "stat/sonoff11/POWER2", "cmd_topic": "cmnd/sonoff11/power2"}, {"id": "sonoff02", "type": "switch", "status_topic": "stat/sonoff02/POWER", "cmd_topic": "cmnd/sonoff02/power"} ] Thank you again so very much for all the help. Quote
vandy Posted Friday at 07:02 PM Author Posted Friday at 07:02 PM I am back, I started thinking how does this thing know where to look for the info the way I have it set up. Well it didn't and even through it was on the list in ISY in the Admin Console it did not work. So I changed it to the following I think following what you were telling me and it is now working. [ {"id": "sonoff01", "type": "s31", "name": "Washer PWR", "status_topic": "tele/sonoff01/SENSOR", "cmd_topic": "cmnd/sensor/POWER"}, {"id": "sonoff11", "type": "switch", "name": "Washer Ctrl" "status_topic": "stat/sonoff01/POWER", "cmd_topic": "cmnd/sonoff01/power"}, {"id": "sonoff02", "type": "switch", "status_topic": "stat/sonoff02/POWER", "cmd_topic": "cmnd/sonoff02/power"} ] Quote
TriLife Posted yesterday at 12:57 PM Posted yesterday at 12:57 PM 17 hours ago, vandy said: I am back, I started thinking how does this thing know where to look for the info the way I have it set up. Well it didn't and even through it was on the list in ISY in the Admin Console it did not work. So I changed it to the following I think following what you were telling me and it is now working. [ {"id": "sonoff01", "type": "s31", "name": "Washer PWR", "status_topic": "tele/sonoff01/SENSOR", "cmd_topic": "cmnd/sensor/POWER"}, {"id": "sonoff11", "type": "switch", "name": "Washer Ctrl" "status_topic": "stat/sonoff01/POWER", "cmd_topic": "cmnd/sonoff01/power"}, {"id": "sonoff02", "type": "switch", "status_topic": "stat/sonoff02/POWER", "cmd_topic": "cmnd/sonoff02/power"} ] Hi @vandy, Glad you figured it out. I'd replace "cmd_topic": "cmnd/sensor/POWER"}, with "cmd_topic": "cmnd/sonoff01/POWER"}, for consistency's sake. In this particular case it doesn't matter, since the s31 type will never issue a cmd_topic. Quote
vandy Posted yesterday at 07:14 PM Author Posted yesterday at 07:14 PM I did make the change and again I want to thank you for the help. You have a good week end. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.