Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




4975 posts

Uber Geek
+1 received by user: 105

Trusted

Topic # 204761 16-Oct-2016 10:58
Send private message

I currently have a very simple OpenHAB system (with HABridge) run by a Pi and accessed primarily via a Amazon Dot.

 

The two devices I have are both wall switches, one an Insteon wall switch and one a Dlink module. Both are controlled by emulating a Hue bulb so just basic on/off controls which suits me fine.

 

I also have a gas furnace which is controlled by a low voltage relay which which I guess opens the gas inlet valve when closed. I would like to automate that also think a Zwave relay would do the job (I know I would have to install a Zwave hub also) which can be controlled by OpenHAB. Thus I could say Alexa, turn on the heater and bingo, the heater goes on.

 

Lots of searching but cannot find a suitable Zwave relay I could use. Do those who have more advanced installations have any suggestions on what relays I could use and where to buy them from? Or is there another solution I could use? It's just a relay - not switching mains power but I think it would need to be connected to a power supply to operate (probably mains power).

 

Thanks





System One: Popcorn Hour A200,  PS3 SuperSlim, NPVR and Plex Server running on Gigabyte Brix (Windows 10 Pro), Sony BDP-S390 BD player, Pioneer AVR, Raspberry Pi running Kodi and Plex, Panasonic 60" 3D plasma, Google Chromecast

System Two: Popcorn Hour A200 ,  Oppo BDP-80 BluRay Player with hardware mode to be region free, Vivitek HD1080P 1080P DLP projector with 100" screen. Harman Kardon HK AVR 254 7.1 receiver, Samsung 4K player, Google Chromecast

 


My Google+ page 

 

 

 

https://plus.google.com/+laurencechiu

 

 


Create new topic
1664 posts

Uber Geek
+1 received by user: 188

Subscriber

  Reply # 1651857 16-Oct-2016 11:04
Send private message

If you are up for a bit of tinkering, and you have WIFI access at your boiler, I would look at using one of these plus one of these. Total cost about $US7.50 incl. shipping! 

 

Then program it up with something like ESPEasy or Homie and you will have MQTT control/access of the Wemos. You can then spin up a instance of mosquitto on the Pi and use the openHAB MQTT binding to *talk* to the relay.

 

This probably sounds quite complex but it is relatively easy to setup. Setting up mosquitto on the pi should be easy enough and using the MQTT binding in openHAB is a piece of cake (it is probably one of the more commonly used bindings).

 

If you have programmed an Arduino before the configuring the Wemos shouldn't be too hard either. 

 

Much more cost effective and will work just as well. I would only suggest going the Z-Wave route if you intend to add more in-wall light switches/relays and/or motion/flood/smoke sensors.


21613 posts

Uber Geek
+1 received by user: 4430

Trusted
Subscriber

  Reply # 1651893 16-Oct-2016 12:47
Send private message

Just make sure it really is low voltage before using the wemos relay shield. Its layout is crap with stuff all isolation between the terminal side of the relay and everything else. Like most power switching things out of china.





Richard rich.ms

 
 
 
 




4975 posts

Uber Geek
+1 received by user: 105

Trusted

  Reply # 1651894 16-Oct-2016 12:50
Send private message

SumnerBoy:

 

If you are up for a bit of tinkering, and you have WIFI access at your boiler, I would look at using one of these plus one of these. Total cost about $US7.50 incl. shipping! 

 

Then program it up with something like ESPEasy or Homie and you will have MQTT control/access of the Wemos. You can then spin up a instance of mosquitto on the Pi and use the openHAB MQTT binding to *talk* to the relay.

 

This probably sounds quite complex but it is relatively easy to setup. Setting up mosquitto on the pi should be easy enough and using the MQTT binding in openHAB is a piece of cake (it is probably one of the more commonly used bindings).

 

If you have programmed an Arduino before the configuring the Wemos shouldn't be too hard either. 

 

Much more cost effective and will work just as well. I would only suggest going the Z-Wave route if you intend to add more in-wall light switches/relays and/or motion/flood/smoke sensors.

 

 

 

 

That's certainly cheap but it might be a bridge too far for me. I have never programmed in ESPEasy or Homie so I would have to learn that. Plus are there schematics around to show how the two boards are connected?

 

Presumably one is powered from the mini USB while the other has you connect to the switch you want to control?

 

I never programmed the Wemos. The HABridge server makes a number of devices look like Wemo devices. For the Dlink switch which has pretty ugly Alexa support (very wordy commands required) I found code in Javascript that used HNAP to send commands to the Dlink which I then added a commands to my OpenHAB configuration.





System One: Popcorn Hour A200,  PS3 SuperSlim, NPVR and Plex Server running on Gigabyte Brix (Windows 10 Pro), Sony BDP-S390 BD player, Pioneer AVR, Raspberry Pi running Kodi and Plex, Panasonic 60" 3D plasma, Google Chromecast

System Two: Popcorn Hour A200 ,  Oppo BDP-80 BluRay Player with hardware mode to be region free, Vivitek HD1080P 1080P DLP projector with 100" screen. Harman Kardon HK AVR 254 7.1 receiver, Samsung 4K player, Google Chromecast

 


My Google+ page 

 

 

 

https://plus.google.com/+laurencechiu

 

 


1664 posts

Uber Geek
+1 received by user: 188

Subscriber

  Reply # 1651940 16-Oct-2016 15:44
Send private message

The relay shield plugs directly into the Wemos D1 Mini (note these are completely different products to the Wemo switches which are quite popular as well).

 

All you need to learn is how to program an Arduino - and by using something like Homie most of the heavy lifting is done already. The sketches are very simple to write.

 

Once they are programmed up then you just create standard openHAB items, bound to MQTT topics (via the MQTT binding), and you can control via your Echo and the the HA-Bridge.

 

But if you have never played around with Arduinos then it might be a little more than a simple task. Good chance to learn tho!


1609 posts

Uber Geek
+1 received by user: 343

Lifetime subscriber

  Reply # 1651952 16-Oct-2016 16:22
One person supports this post
Send private message

lchiu7:

 

I currently have a very simple OpenHAB system (with HABridge) run by a Pi and accessed primarily via a Amazon Dot.

 

The two devices I have are both wall switches, one an Insteon wall switch and one a Dlink module. Both are controlled by emulating a Hue bulb so just basic on/off controls which suits me fine.

 

I also have a gas furnace which is controlled by a low voltage relay which which I guess opens the gas inlet valve when closed. I would like to automate that also think a Zwave relay would do the job (I know I would have to install a Zwave hub also) which can be controlled by OpenHAB. Thus I could say Alexa, turn on the heater and bingo, the heater goes on.

 

Lots of searching but cannot find a suitable Zwave relay I could use. Do those who have more advanced installations have any suggestions on what relays I could use and where to buy them from? Or is there another solution I could use? It's just a relay - not switching mains power but I think it would need to be connected to a power supply to operate (probably mains power).

 

Thanks

 

 

 

 

Careful, boilers and gas control are very heavily regulated, keeping in mind there are purge timers and air pressure regulators and all kind of safety's that are all controlled by a very specialised modulator, it not as simple as banging a relay in with the gas valve, if you get it wrong you are essentially making a bomb!!




4975 posts

Uber Geek
+1 received by user: 105

Trusted

  Reply # 1651954 16-Oct-2016 16:34
Send private message

gregmcc:

 

lchiu7:

 

I currently have a very simple OpenHAB system (with HABridge) run by a Pi and accessed primarily via a Amazon Dot.

 

The two devices I have are both wall switches, one an Insteon wall switch and one a Dlink module. Both are controlled by emulating a Hue bulb so just basic on/off controls which suits me fine.

 

I also have a gas furnace which is controlled by a low voltage relay which which I guess opens the gas inlet valve when closed. I would like to automate that also think a Zwave relay would do the job (I know I would have to install a Zwave hub also) which can be controlled by OpenHAB. Thus I could say Alexa, turn on the heater and bingo, the heater goes on.

 

Lots of searching but cannot find a suitable Zwave relay I could use. Do those who have more advanced installations have any suggestions on what relays I could use and where to buy them from? Or is there another solution I could use? It's just a relay - not switching mains power but I think it would need to be connected to a power supply to operate (probably mains power).

 

Thanks

 

 

 

 

Careful, boilers and gas control are very heavily regulated, keeping in mind there are purge timers and air pressure regulators and all kind of safety's that are all controlled by a very specialised modulator, it not as simple as banging a relay in with the gas valve, if you get it wrong you are essentially making a bomb!!

 

 

I probably overstated this. It's just a in wall gas fired heater which uses a wall switch to operate a relay I guess which then opens a valve to allow gas to flow to the heater which is lit by the pilot light. When closed the relay then closes the valve. Seems like a very simple installation for a remote controlled relay using some home automation tool





System One: Popcorn Hour A200,  PS3 SuperSlim, NPVR and Plex Server running on Gigabyte Brix (Windows 10 Pro), Sony BDP-S390 BD player, Pioneer AVR, Raspberry Pi running Kodi and Plex, Panasonic 60" 3D plasma, Google Chromecast

System Two: Popcorn Hour A200 ,  Oppo BDP-80 BluRay Player with hardware mode to be region free, Vivitek HD1080P 1080P DLP projector with 100" screen. Harman Kardon HK AVR 254 7.1 receiver, Samsung 4K player, Google Chromecast

 


My Google+ page 

 

 

 

https://plus.google.com/+laurencechiu

 

 


3266 posts

Uber Geek
+1 received by user: 1276

Subscriber

  Reply # 1652599 18-Oct-2016 00:28
Send private message

Adding to the above - It could be the Robertshaw millivolt system - A thermoelectric generator uses heat from the pilot light to generate about 1 volt or so which is enough to keep the pilot valve open. and control the main gas valve via a switch. Have seen this system wired up to light switches and bimetallic strip thermostats.

 

Some mostly older gas central heaters use 24VAC as their control through the thermostat or a simple switch - The heater design often draws a couple of amps or so through the thermostat instead of using it as only a control signal.

 

And some heaters (normally gas flame effect fires) Use mains to either directly switch the main solenoids (with pilot for safety) Or a controller that preforms the safety functions.

 

So 3 different systems with wildly different voltages even after ignoring all of the often proprietary electronic control systems, which are often power and data running over a 2 core cable. (EG Rinnai infinity controllers, newer Brivis)

 

 

 

Does the pilot light stay lit all the time? Or does the heater light the pilot by itself? Either way safest to assume that there is mains power being controlled by that wall switch unless you have proved that it is definitely not mains.








4975 posts

Uber Geek
+1 received by user: 105

Trusted

  Reply # 1652892 18-Oct-2016 14:07
Send private message

Very perceptive. It is the Robertshaw valve. I know this because

 

 

 

1. the fire stopped working and I called in a gas fitter

 

2. He proclaimed the valve faulty and could not obtain a replacement in NZ

 

3. I bought two on the Internet and had shipped to me (I have two gas flames) after eyballing them and woring out what they were

 

4. They then said they were not comforatble installing them since they had not provided them!

 

 

 

I then called another gas fitter to install them who discovered the valves were fine, it was just dirty pilot light burners and he cleaned them both up.

 

When I complained to the original gas fitter company manager they reimbursed me all the charges I had incurred for the visit but I was left with two valves. Luckily I was able to RMA them and return them on my next US trip (which luckily was only a month away from the time of the incident).

 

I watched the guy check the wiring out with a multi-meter and it's low voltage so the Zwave switch should be fine.





System One: Popcorn Hour A200,  PS3 SuperSlim, NPVR and Plex Server running on Gigabyte Brix (Windows 10 Pro), Sony BDP-S390 BD player, Pioneer AVR, Raspberry Pi running Kodi and Plex, Panasonic 60" 3D plasma, Google Chromecast

System Two: Popcorn Hour A200 ,  Oppo BDP-80 BluRay Player with hardware mode to be region free, Vivitek HD1080P 1080P DLP projector with 100" screen. Harman Kardon HK AVR 254 7.1 receiver, Samsung 4K player, Google Chromecast

 


My Google+ page 

 

 

 

https://plus.google.com/+laurencechiu

 

 


3266 posts

Uber Geek
+1 received by user: 1276

Subscriber

  Reply # 1655443 21-Oct-2016 01:14
Send private message

You will need to check that the Z wave relay is an actual mechanical contact relay and not a solid state relay. As simple solid state relays are cheaper than mechanical relays - (just a TRIAC and a resistor) But solid state relays that are intended for AC will only work on AC.








4975 posts

Uber Geek
+1 received by user: 105

Trusted

  Reply # 1655474 21-Oct-2016 07:58
Send private message

Aredwood:

 

You will need to check that the Z wave relay is an actual mechanical contact relay and not a solid state relay. As simple solid state relays are cheaper than mechanical relays - (just a TRIAC and a resistor) But solid state relays that are intended for AC will only work on AC.

 

 

 

 

Pretty sure it's DC as there is no AC connected anywhere near the heater. As a previous poster noted, the voltage comes from the millivolts generated the piezoelectric device from the pilot lamp.

 

But still don't know which Zwave switch to purchase and where to get one.





System One: Popcorn Hour A200,  PS3 SuperSlim, NPVR and Plex Server running on Gigabyte Brix (Windows 10 Pro), Sony BDP-S390 BD player, Pioneer AVR, Raspberry Pi running Kodi and Plex, Panasonic 60" 3D plasma, Google Chromecast

System Two: Popcorn Hour A200 ,  Oppo BDP-80 BluRay Player with hardware mode to be region free, Vivitek HD1080P 1080P DLP projector with 100" screen. Harman Kardon HK AVR 254 7.1 receiver, Samsung 4K player, Google Chromecast

 


My Google+ page 

 

 

 

https://plus.google.com/+laurencechiu

 

 


Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Geekzone Live »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.