cosyn Posted May 31, 2023 Posted May 31, 2023 (edited) So I’m reviving a closed thread : I did not have any luck with the Z-wave based relays to replace my iot4R. Also tried replacing the capacitors and the device still did not work. I wrote to Insteon and got a reply from Ken that creating a similar device with 4 relays is something they’ll think about. Short of buying four of their relays to replace each iot4r, I’m looking into other options. I found this Wifi based device made by MHCOZY but it’s not clear how I can integrate it into my eisy. I recall @Michel Kohanim saying Wifi based devices are the most reliable. Would I need to program a node server? Any tips on how to do that with zero experience making one? I searched the forums and Wiki but couldn’t find a how-to hide. Edited May 31, 2023 by cosyn Added info
atmarosi Posted May 31, 2023 Posted May 31, 2023 Assuming it has a REST API you can make Network Resources on the ISY itself for each on/off. Call the ON URL for it to close the contact and apply power across that relay. Then after your desired time - call the OFF URL for it to open the contact - removing power. Another option I've seen that is fully featured and in the same vein:Ethernet Relay Boards: Ethernet Relay Board and modules from Denkovi A E LTD 1
cosyn Posted June 7, 2023 Author Posted June 7, 2023 Thanks for tip. That sounds easier than trying to build a node server. The MHCOZY device just arrived. Will try it out and report back here. Getting Ethernet to the location shouldn’t be too hard but I’ve already got wifi to the location.
cosyn Posted July 11, 2023 Author Posted July 11, 2023 So I decided to return the device as it wasn't friendly to customization and instead go for a Tasmota-flashed Sonoff 4 channel relay relay after seeing posts about the devices here. It costs more but there's a whole development community around these. I'll be starting a new thread about how to send commands to the device through the ISY without going the MQTT route, and if that doesn't work, I'll bite the bullet and go with the node server option.
cosyn Posted July 11, 2023 Author Posted July 11, 2023 (edited) Nevermind about starting a new thread, I'll just document this here for anyone trying to figure this out. Got the Sonoff flashed with Tasmota, assigned a reserved IP address through my router (doing it via Tasmota commands didn't work), and was able to send http web commands through my browser to turn various relays off and on. In the web browser, the commands that I found to turn the relays on/off look like this: On commands: http://192.168.1.1/cm?cmnd=Power1%20on You can replace 'on' with 'off' as needed. And each channel/relay is assigned a number: Power1, Power2, Power3, Power4. Next, I set up the device through the ISY's configuration--> Networking--> Network Resources tab. I decided to try a simpler route than xKing's method of setting up a node server on my Polisy, plus dedicated MQTT broker on an Raspberry Pi box. Maybe I'll go that route in the future. In Network Resources, I entered all the fields like so for each of the 4 relays and each command state (on and off) for a total of 8 network resources: Then clicked save--> save--> test, and it worked! Then I replaced the programs in my ISY that had the failed SmartenIt devices with the newly created Network Resources. In the program Actions drop down, select Networking--> Resource--> your new device names. Works like a charm and is simple. With the MQTT server option mentioned above, the device can get more sophisticated, like being able to tell you each channel's on/off state, but this is good enough to replace the basic functions of the EZIO4s. Edited July 17, 2023 by cosyn
kzboray Posted July 11, 2023 Posted July 11, 2023 @cosyn , @sjpbailey just released a bunch of NS's one of them is exactly what you want. Here's the link to the documentation on the NS and HW.https://github.com/sjpbailey/Documentation/tree/main/Tuya Relay 2
sjpbailey Posted July 11, 2023 Posted July 11, 2023 (edited) Hello @cosyn and @kzboray Besides https://github.com/sjpbailey/Documentation/tree/main/Tuya Relay Device: https://www.amazon.com/Newgoal-4-Channel-Momentary-Adjustable-Compatible/dp/B08BQXL4GX/ref=sr_1_5?crid=J835HTBEK9XF&keywords=smart%2Bhome%2Btuya%2Bwifi%2Bfour%2Bchannel%2Brelay&qid=1688136707&s=industrial&sprefix=smart%2Bhome%2Btuya%2Bwifi%2Bfour%2Bchannel%2Brelay%2Cindustrial%2C170&sr=1-5&th=1 If you want 6 universal inputs and six outputs there is also - https://github.com/sjpbailey/udi-poly-baspi-6u6r-python-master-v3/blob/main/README.md Or if your doing irrigation sprinklers you can use this. https://github.com/sjpbailey/udi-poly-basirrigation-python-master-v3/blob/master/README.md Now the BAS controllers will cost you a little more, WiFi IP sits on a raspberry pi. https://www.ccontrols.com/basautomation/baspi.htm If you are only need is four relay outputs then TuyaRelay will work perfectly. Have a great day! Edited July 11, 2023 by sjpbailey 3 1
cosyn Posted July 11, 2023 Author Posted July 11, 2023 (edited) Wow, that’s amazing! Thanks so much for making this NS, @sjpbailey. As my experience with SmartenIt has taught me, it’s good to have backup options in case a company goes under or divests. Will definitely pick up some of the TUYA-based devices to try out the NS. Edited July 11, 2023 by cosyn 1
sjpbailey Posted July 12, 2023 Posted July 12, 2023 @cosyn Hope one of these meets your needs! Of course this morning nothing installs on my Polisy 😂 back to Eisy. Yes sir you never know when something good will go away! I believe UDI will be here for a little longer!
cosyn Posted July 15, 2023 Author Posted July 15, 2023 LOL, me too. I'm a bit behind on updates and my Polisy doesn't seem to let me buy stuff from the store. Time to upgrade to the eisy.
Recommended Posts