Page 1 of 1

WiFi device for otgw needed

Posted: Monday 30 January 2017 16:08
by DaWauZ
Hi all,

I moved to another house, and I've got a little problem there.
The gas heater/boiler is outside, and I cant get a extra wire from thermostat or kettle to my rpi with domoticz.
I have a opentherm gateway on usb so I cant make the distance right.
So I was thinking about an slave domoticz machine with wifi to connect the otgw.
Can I use a raspberry pi zero for this (with wifi stick) or maybe there are other cheap low power consuming devices available?
I have some old thin clients but they are just big or not possible to get some extra harddisk in it, and running domoticz on a usb stick, I think thats not really good for the sticks.

Re: WiFi device for otgw needed

Posted: Monday 30 January 2017 17:33
by dutchdevil83
DaWauZ wrote:Hi all,

I moved to another house, and I've got a little problem there.
The gas heater/boiler is outside, and I cant get a extra wire from thermostat or kettle to my rpi with domoticz.
I have a opentherm gateway on usb so I cant make the distance right.
So I was thinking about an slave domoticz machine with wifi to connect the otgw.
Can I use a raspberry pi zero for this (with wifi stick) or maybe there are other cheap low power consuming devices available?
I have some old thin clients but they are just big or not possible to get some extra harddisk in it, and running domoticz on a usb stick, I think thats not really good for the sticks.
Arduino Uno with a ESP8266 chip on it and then add your gateway as lan interface within Domoticz. Requires some soldering and programming experencie (program is already available in the arduino library). If you google opentherm gateway and esp8266 WiFi module you find some results.

Re: WiFi device for otgw needed

Posted: Monday 30 January 2017 18:55
by DaWauZ
Hi, I already did, do find a lot with an ESP but not something with a Uno.
Maybe I can something using like a thin client with some kind of like Linux distribution on it, but then I still don't know how to get the data over.
I am new to Arduino and ESP wi-fi modules.

But maybe can you link a correct site, it's not that I am lazy but don't know exactly which is the good one.

Verstuurd vanaf mijn XT1562 met Tapatalk

Re: WiFi device for otgw needed

Posted: Monday 30 January 2017 19:00
by Ericv
Have a look here
https://balk.tweakblogs.net/blog/13147/ ... r-domoticz

Looking at the signature in your last post i guess you can read this

Re: WiFi device for otgw needed

Posted: Monday 30 January 2017 19:04
by DaWauZ
Yes I can but he is tweaking the otgw without an Arduino. I don't want to mess up my otgw though it's a good one.

Re: WiFi device for otgw needed

Posted: Monday 30 January 2017 19:11
by Ericv
I think you can connect the es8266 to the usb pins. no need for an arduino

Re: WiFi device for otgw needed

Posted: Monday 30 January 2017 19:23
by SweetPants
Ericv wrote:I think you can connect the es8266 to the usb pins. no need for an arduino
Not directly, the ESP is 3.3v and you will brick if if you connect it to 5v USB

Re: WiFi device for otgw needed

Posted: Monday 30 January 2017 19:36
by Ericv
The esp8266 in the link has a 5 -> 3.3 v adapter on board

I have one myself and it works perfect

Re: WiFi device for otgw needed

Posted: Monday 30 January 2017 22:05
by DaWauZ
that topic on tweakers is lovely but I own a usb otgw, basically its the same and will take a look at it.
My colleque is very good in soldering.

is this the same ESP-12 board?

https://www.aliexpress.com/item/Hot-Sal ... 9c4ca798a3

oh and do I need a antenna ( I have some old laptops to salvage)

Re: WiFi device for otgw needed

Posted: Monday 30 January 2017 22:17
by Ericv
Yes, esp looks similar.

I do not have an antenna. Don't know if it is possible to attach one to the board. Let me know if your fiend finds a way.

Re: WiFi device for otgw needed

Posted: Tuesday 31 January 2017 7:06
by DaWauZ
Hmz, its difficult to get the right components as the transformer is out of stock @ conrad, and difficult to find elsewhere.
I also have to change the 7805 as thinkpad says on tweakers.

I do think it is easier to feed the ESP-12 separately by a phone charger or maybe a little print to build in.
Or it is just easier to use a small thin client with wifi dongle though the cost me nothing, only probably using more power.

Re: RE: WiFi device for otgw needed

Posted: Tuesday 31 January 2017 7:45
by stlaha2007
DaWauZ wrote:Hi all,

I moved to another house, and I've got a little problem there.
The gas heater/boiler is outside, and I cant get a extra wire from thermostat or kettle to my rpi with domoticz.
I have a opentherm gateway on usb so I cant make the distance right.
So I was thinking about an slave domoticz machine with wifi to connect the otgw.
Can I use a raspberry pi zero for this (with wifi stick) or maybe there are other cheap low power consuming devices available?
I have some old thin clients but they are just big or not possible to get some extra harddisk in it, and running domoticz on a usb stick, I think thats not really good for the sticks.
Maybe im missing something, but why place to Rpi near the kettle in the kettlehousing?

Otgw is ment to be fitted between kettle and thermostat. Why not near your thermostat and extend the wires there into (2pair phonecable or 4pair UTP-cable will do) the otgw?

Re: WiFi device for otgw needed

Posted: Tuesday 31 January 2017 8:00
by DaWauZ
Well because I dont have an option the get the cable near to my pi.
It is in another compartment of my house and I dont want to break out things, there are no cables from kettlehouse to powermetercloset (meterkast)
Even the gas meter is in the kettlehouse but gives wireless data to the smart meter.

Re: RE: Re: WiFi device for otgw needed

Posted: Tuesday 31 January 2017 9:13
by stlaha2007
DaWauZ wrote:Well because I dont have an option the get the cable near to my pi.
It is in another compartment of my house and I dont want to break out things, there are no cables from kettlehouse to powermetercloset (meterkast)
Even the gas meter is in the kettlehouse but gives wireless data to the smart meter.
Okay, that i'll understand (also Dutch resident ;-) ). Had simular problem with my metercloset. And drilled small holes trough the concrete, and pulled cat6 from stairway to metercloset with switch. To supply rpi with smartmeter.

What about Power-over-Electricity units? Your kettlehouse has electricity right, most of the times these are wired straight from the metercloset.
Or a wifi2ethernet bridge? Which you can setup with a pi (cheaper and easier to implement) or buy an accespoint.

Re: WiFi device for otgw needed

Posted: Tuesday 31 January 2017 9:36
by Ericv
still a bit curious: where is the thermostat located, with respect to your router?

Re: WiFi device for otgw needed

Posted: Tuesday 31 January 2017 21:14
by DaWauZ
my router, pi and nas are in the meterkast
my kettlehouse is outside, in front of my house. My thermostate is in the livingroom.
The kettlehouse has power but only 2, I have to expand this. I have no room under my house and the powercable an thermostate cable are under the groud somewhere. Cant get the trekveer trought it...

I ordered an ESP12 board, and going to use a usb power wall socket to give the ESP the 5v power, and connecting the esp to the otgw with jumper wires to the tx /rx
This has to work. I have wifi signal about 60-70% in the kettlehouse

I also gonna order an Pi 3, to change my domoticz host from pi 2 b . In case of troubles I could use the old pi 2b in the kettle house, maybe with some flame or smoke sensors onto it. Dont know if that works?

Re: WiFi device for otgw needed

Posted: Tuesday 31 January 2017 21:44
by Ericv
My thermostate is in the livingroom
Which probably means that the distance between esp and router is not too big. No antenna needed

The OTGW can also provide 5V power for the esp. No need for an extra power supply

Re: WiFi device for otgw needed

Posted: Tuesday 31 January 2017 21:48
by DaWauZ
OK but as on the tweakers topic, the changed the blue block transformer to a heavier model. Ik dont want to do that, will let the otgw as it is.