Bwired Opentherm Gateway solution with EZL-70
Re: Bwired Opentherm Gateway solution with EZL-70
Just thinking out loud.. why do you need a device with a complete Operating System on it for this?
If I'd have started doing that from the start (some 7 years ago) I would have had a dozen (or more) RPi's by now.
I do like to think of a RPi as a central hub in my system and run tasks like event processing on it though...
But just to connect one single piece of hardware to my system...neh...
If I'd have started doing that from the start (some 7 years ago) I would have had a dozen (or more) RPi's by now.
I do like to think of a RPi as a central hub in my system and run tasks like event processing on it though...
But just to connect one single piece of hardware to my system...neh...
Re: Bwired Opentherm Gateway solution with EZL-70
Yes exactly! Think about how AWESOME that would beDigit wrote:Just thinking out loud.. why do you need a device with a complete Operating System on it for this?
If I'd have started doing that from the start (some 7 years ago) I would have had a dozen (or more) RPi's by now.

I know what you mean.. On the other hand.. Isn't it AWSOME that some much computing power fits in such little devices and such small budgets as well? I could and would of course use it for more then just passing along the OTGW data then.. But it would be nice to have a hub in the boiler roomDigit wrote:I do like to think of a RPi as a central hub in my system and run tasks like event processing on it though...
But just to connect one single piece of hardware to my system...neh...

Kind Regards,
Greg.
Greg.
Re: Bwired Opentherm Gateway solution with EZL-70
Yes, the RPi is nice, I agree. And I'm sure it will be useful for a lot of things. I'm just a bit reluctant to deploy it wherever I need 'some' processing power. And (going even more OT now) I also think it's being over-hyped a bit - just look at Adafruit, for which Raspberryfruit has become a more suitable name nowadays.. as if nothing else exists anymore
But hey, use whatever you have the most fun with - it's a hobby, right? I know there are people that think I am crazy with my expensive XBee modules... I really don't mind, I think I'm not
In the end, only 2 things really matter: it must be fun and it has to be reliable!
But hey, use whatever you have the most fun with - it's a hobby, right? I know there are people that think I am crazy with my expensive XBee modules... I really don't mind, I think I'm not

In the end, only 2 things really matter: it must be fun and it has to be reliable!
Re: Bwired Opentherm Gateway solution with EZL-70
Adding a TCP connector to the OTGW interface is possible as long as the communication it self doesn't change (which applies for the EZL-70 as far a I know). It will be the same way like some of the audio/video interfaces, where you can choose between serial or TCP.sj3fk3 wrote:The thing is: I want to use domotiga to connect to it and it only supports a serial connection to the OTGW, but maybe I can ask Ron to do a TCP/IP connector as well..hvxl wrote: According to the manual the EZL-70 can be programmed through the serial port using AT commands, so no windows necessary. After that you just set up a telnet connection to get the data.
I'm happy to code this extra functionallity. Unfortunatly I'm not able to test it as I don't have a EZL-70 myself.
When ready I'll post the new code to test.
Re: Bwired Opentherm Gateway solution with EZL-70
You run remserial on your linux box that also runs domotiga. It sets up a socket connection to the EZL-70 and creates a device that looks like a serial port to domotiga.sj3fk3 wrote:How could I use remserial to connect to that network attached serial device?
For example, if the EZL-70 has been configured with an IP address of 192.168.1.42 and a local port of 1470, you could use:
- remserial -d -r 192.168.1.42 -p 1470 -l /dev/otgw /dev/ptmx &
Schelte
Re: Bwired Opentherm Gateway solution with EZL-70
I agree it's overkill. But it makes no sense to buy something three times the price just because it doesn't have all these additional features that you're not going to use.Digit wrote:Just thinking out loud.. why do you need a device with a complete Operating System on it for this?
Schelte
Re: Bwired Opentherm Gateway solution with EZL-70
I agree on that one too
Choices, choices...

Choices, choices...
Re: Bwired Opentherm Gateway solution with EZL-70
That would be so cool! I could always order 2 EZL-70's (still cheaper than the one other option I first had in mind) and I could send you one.. I'm a strong believer of supporting all open source initiativesBreFra wrote: Adding a TCP connector to the OTGW interface is possible as long as the communication it self doesn't change (which applies for the EZL-70 as far a I know). It will be the same way like some of the audio/video interfaces, where you can choose between serial or TCP.
I'm happy to code this extra functionallity. Unfortunatly I'm not able to test it as I don't have a EZL-70 myself.
When ready I'll post the new code to test.

Kind Regards,
Greg.
Greg.
Re: Bwired Opentherm Gateway solution with EZL-70
Ok, so I've hooked up the OTGW (thanks Lennart!!) to my boiler and iSense and all led blink happily then I connect the EZL-70 (also thanks for making that posible Lennart!!) and when I telnet to it I get good looking bumbo-jumbo (I don't speak OpenTherm very well). Then I do the remserial trick (Thanks Schelte), looks like that is also working nicely... BUT... when I connect domotiga to the local serial I get:
Bummer 
Code: Select all
2013/01/15 20:56:59 [OpenTherm] Invalid response '00000011/00001010,64.40,00000011/00000011,100.00,0/0,19.36,9.00,2.10,20.02,64.40,0.00,0.00,0.00,60/40,80/20,60.00,80.00,11664,12776,6560,7464,1612PF,1870,4964,,82'
2013/01/15 20:57:04 [OpenTherm] Invalid response '00000011/00001010,64.40,00000011/00000011,100.00,0/0,19.36,9.00,2.10,20.02,64.50,0.00,0.00,0.00,60/40,80/20,60.00,80.00,11664,12776,6560,7464,1612PF,1870,4964,,82'
2013/01/15 20:57:09 [OpenTherm] Invalid response '00000011/00001010,64.40,00000011/00000011,100.00,0/0,19.36,9.00,2.10,20.02,64.60,0.00,0.00,0.00,60/40,80/20,60.00,80.00,11664,12776,6560,7464,1612PF,1870,4964,,82'
2013/01/15 20:57:14 [OpenTherm] Invalid response '00000011/00001010,64.40,00000011/00000011,100.00,0/0,19.36,7.00,2.10,20.02,64.60,0.00,0.00,0.00,60/40,80/20,60.00,80.00,11664,12776,6560,7464,1612PF,1870,4964,,82'
2013/01/15 20:57:19 [OpenTherm] Invalid response '00000011/00001010,64.40,00000011/00000011,100.00,0/0,19.36,6.00,2.10,20.02,64.50,0.00,0.00,0.00,60/40,80/20,60.00,80.00,11664,12776,6560,7464,1612PF,1870,4964,,82'
2013/01/15 20:57:24 [OpenTherm] Invalid response '00000011/00001010,64.40,00000011/00000011,100.00,0/0,19.36,7.00,2.10,20.02,64.10,0.00,0.00,0.00,60/40,80/20,60.00,80.00,11664,12776,6560,7464,1612PF,1870,4964,,82'
2013/01/15 20:57:35 [OpenTherm] Invalid response '00000011/00001010,64.40,00000011/00000011,100.00,0/0,19.36,7.00,2.10,20.02,63.58,0.00,0.00,0.00,60/40,80/20,60.00,80.00,11664,12776,6560,7464,1612PF,1870,4964,,82'
2013/01/15 20:57:40 [OpenTherm] Invalid response '00000011/00001010,64.40,00000011/00000011,100.00,0/0,19.36,8.00,2.10,20.02,62.50,0.00,0.00,0.00,60/40,80/20,60.00,80.00,11664,12776,6560,7464,1612PF,1870,4964,,82'
2013/01/15 20:57:45 [OpenTherm] Invalid response '00000011/00001010,64.40,00000011/00000011,100.00,0/0,19.36,8.00,2.10,20.02,62.10,0.00,0.00,0.00,60/40,80/20,60.00,80.00,11664,12776,6560,7464,1612PF,1870,4964,,82'
2013/01/15 20:57:50 [OpenTherm] Invalid response '00000011/00001010,64.40,00000011/00000011,100.00,0/0,19.36,9.00,2.10,20.02,61.50,0.00,0.00,0.00,60/40,80/20,60.00,80.00,11664,12776,6560,7464,1612PF,1870,4964,,82'
2013/01/15 20:57:55 [OpenTherm] Invalid response '00000011/00001010,64.40,00000011/00000011,100.00,0/0,19.36,10.00,2.10,20.02,61.10,0.00,0.00,0.00,60/40,80/20,60.00,80.00,11664,12776,6560,7464,1612PF,1870,4964,,82'
2013/01/15 20:58:00 [OpenTherm] Invalid response '00000011/00001010,64.40,00000011/00000011,100.00,0/0,19.36,11.00,2.10,20.02,60.81,0.00,0.00,0.00,60/40,80/20,60.00,80.00,11664,12776,6560,7464,1612PF,1870,4964,,82'
2013/01/15 20:58:05 [OpenTherm] Invalid response '00000011/00001010,64.40,00000011/00000011,100.00,0/0,19.36,12.00,2.10,20.02,60.50,0.00,0.00,0.00,60/40,80/20,60.00,80.00,11664,12776,6560,7464,1612PF,1870,4964,,82'
2013/01/15 20:58:10 [OpenTherm] Invalid response '00000011/00001010,64.40,00000011/00000011,100.00,0/0,19.36,13.00,2.10,20.02,60.30,0.00,0.00,0.00,60/40,80/20,60.00,80.00,11664,12776,6560,7464,1612PF,1870,4964,,82'
2013/01/15 20:58:15 [OpenTherm] Invalid response '00000011/00001010,64.40,00000011/00000011,100.00,0/0,19.36,13.00,2.10,20.02,60.50,0.00,0.00,0.00,60/40,80/20,60.00,80.00,11664,12776,6560,7464,1612PF,1870,4964,,82'

Kind Regards,
Greg.
Greg.
Re: Bwired Opentherm Gateway solution with EZL-70
The PF is in an unexpected location. Have you already tried to power cycle the gateway?
Schelte
Re: Bwired Opentherm Gateway solution with EZL-70
Power cycle did help, but I still cannot connect domotiga to the OTGW. It keeps saying Invalid response. Manually setting PS=1 looks fine to me:
Code: Select all
10:50:16.482178 B500E6400 Write-Ack Maximum relative modulation level: 100.00
10:50:17.170220 T00000300 Read-Data Status: 00000011 00000000
10:50:17.355575 BC000030C Read-Ack Status: 00000011 00001100
10:50:18.169866 T90014ACC Write-Data Control setpoint: 74.80
10:50:18.319695 B50014ACC Write-Ack Control setpoint: 74.80
10:50:19.179550 T00110000 Read-Data Relative modulation level: 0.00
10:50:19.318947 B40110E00 Read-Ack Relative modulation level: 14.00
10:50:20.178547 T100E0000 Write-Data Maximum relative modulation level: 0.00
10:50:20.318858 BD00E0000 Write-Ack Maximum relative modulation level: 0.00
10:50:20.721173 Command: PS=1
10:50:20.938900 PF
10:50:20.947529 00000011/00001100,74.80,00000011/00000011,0.00,0/0,19.76,14.00,2.10,19.52,60.43,0.00,-1.80,0.00,60/40,80/20,60.00,80.00,11688,12808,6584,7464,1620,1880,4966,182
10:50:23.802506 Command: PS=1
10:50:24.017774 PF
10:50:24.034059 00000011/00001100,74.80,00000011/00000011,0.00,0/0,19.76,14.00,2.10,19.52,54.90,0.00,-1.80,0.00,60/40,80/20,60.00,80.00,11688,12808,6584,7464,1620,1880,4966,182
10:50:27.995308 Command: PS=0
10:50:28.219760 OK
10:50:28.238725 T00000300 Read-Data Status: 00000011 00000000
10:50:28.368852 BC000030C Read-Ack Status: 00000011 00001100
10:50:29.205839 T10015A00 Write-Data Control setpoint: 90.00
10:50:29.298406 BD0015A00 Write-Ack Control setpoint: 90.00
Kind Regards,
Greg.
Greg.
Re: Bwired Opentherm Gateway solution with EZL-70
As shelte already mentioned the "PF" inside the report response shouldn't be there, but actually is not the reason it fails.
The real reason it is not accepting the response is due to the fact there are 25 "," in the response while domotiga is expecting 24 times a ","
Both could be due to the same root cause. Why? I don't know...
Your manual PS=1 response is ok and will be accepted by domotiga. Are you executing the manual command at the same machine as where DomotiGa is running?
Frank
The real reason it is not accepting the response is due to the fact there are 25 "," in the response while domotiga is expecting 24 times a ","
Both could be due to the same root cause. Why? I don't know...
Your manual PS=1 response is ok and will be accepted by domotiga. Are you executing the manual command at the same machine as where DomotiGa is running?
Frank
Re: Bwired Opentherm Gateway solution with EZL-70
Yes, same machine, same settings... I can even have 2 devices connected to the same (virtual) tty and "trace" Domotiga.
Kind Regards,
Greg.
Greg.