You may be better buying an HW-655 (if you search for ESP8266 relay you'll find them) and putting it into a small box and powering it with a USB adaptor. They are available on eBay for about £5. Important thing is that has a volt-free relay contact. If you flash it with Tasmota you can set it to give a 'blink' output. You can also programme rules to switch it on/off at different times. If you want to go the whole hog yoy could use openHAB and bluetooth tags to automatically switch off when everyone has left the house
Regards
Phil
--
You received this message because you are subscribed to the Google Groups "SonoffUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
Yes it's called Blink mode. Set BlinkCount 1, set BlinkTime 1 (x 100ms). Power 3 (instead of Power 1) to make it 'blink'.
Regards
Phil K
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers+unsubscribe@googlegroups.com.
Well done!
My next project is replacing thermostatic radiator valves with the Yushan modules you found and solenoid valves. Works out at <£10 per radiator. Waiting for the valves to arrive from Aliexpress
Regards
Phil K
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers+unsubscribe@googlegroups.com.
Here is the solenoid valve
My CH uses microbore (8mm) copper tubing so I'm fairly sure the 2.5mm orifice will be OK. I think there’s a 4mm one available too.
Relay module is here
Will add a DS18B20 (hopefully) and a wall wart 12v psu (got a few lying around so don’t need to buy them)
Will then connect to openHAB which already controls the pump and hot water.
Regards
Phil K
Sent from Mail for Windows 10
Reference - Blynking an IoT Yunshan ESP8266
According to the article the NC contact is (C). For my Yunshan unit, this must be the NO contact. I had tested the external leads I added to the Keurig. With the Keurig plugged in, shorting the leads (i.e., closing the circuit) caused the Keurig to toggle on/off. Using terminal (E) on the Yunshan caused the Keurig to be on anytime the machine was powered (connected to an outlet). With terminal (E) connected, I could not toggle the Keurig on and off using the Yunshan.
- Power 3 (Blink)
- Knowing what state the Keurig is in (on or off) is tricky because the on/off switch is a momentary switch. The state of the Yunshan does not reflect the state of the Keurig.
- I have this set up in openHAB. The rules logic toggles the Yunshan to turn the Keurig on. The logic also controls the power switch (HS-105) to turn the Keurig off. Turning off power ensures that the Keurig is off.
- To ensure that one can manually click the physical switch on the Keurig to turn it on or off, turning off the power (HS-105) is only momentary - I turn it off but come right back and turn power back on.
- I have two rules: one to turn it on automatically in the mornings (with a delay timer to turn it off later), and another rule to respond to the UI/Google Assistant command (which also has a delay timer to turn it off automatically later). Because controlling the Keurig requires controlling two devices, I have the UI set up as a virtual switch so that when it is turned on or off, the rule takes care of the actions necessary on the Yunshan and the power (HS-105).
The rules look at the presence information I have set up with OwnTracks. If we're not home, it won't turn on the Keurig in the morning... which is the entire reason I did this project. The Keurig has a scheduling feature... but when we left town for a few days I had to unplug it to keep it from turning on. AND, when we returned, I'd have to re-program it to set the schedule. I now can just forget about this because OwnTracks will send our location as we pull away from the house and openHAB takes care of the rest.