OTGW use with remote session

For OpenTherm-gateway related questions in Domoticz
Post Reply
Draakje
Posts: 113
Joined: Thursday 22 October 2015 21:14
Target OS: Linux
Domoticz version: 3.5468
Contact:

OTGW use with remote session

Post by Draakje » Sunday 31 December 2017 15:08

Hi All,

I have actually 2 questions.

My first question is about controlling the OTGW with a remote domoticz.

Let me explain my situation first.

I have 2 raspberry pi 3. One downstairs in the meter cabinet and the other one on the 2nd floor next to the boiler /cv.

My raspberry downstairs is my main domoticz and the other one is remote.

When I try to set the room temperature from the remote (the domoticz upstairs) it works. (although it will take a few minutes to see the change on the thermostat on the wall) But when I set the temperature on the main domoticz (downstairs) nothing happens.
Is this just a thing that doesn't work like this?

Other question is more for my curiosity.
When I set the temperature with domoticz I get a (new) symbol in the display of the thermostat.

Does anyone have a good explanation for this symbol (see picture) ? I could not find it in the manual.
(I have a honeywell Chronotherm Touch)
Regards,
Attachments
IMG_0200.jpg
IMG_0200.jpg (75.6 KiB) Viewed 1948 times
Hardware: Raspberry Pi 3, OTGW, 433MHz Superheterodyne 3310 RF Link
Software: Ubuntu 16.04, Domoticz v3.5468, WiringPi, rc-switch

User avatar
sincze
Posts: 988
Joined: Monday 02 June 2014 22:46
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Netherlands
Contact:

Re: OTGW use with remote session

Post by sincze » Monday 01 January 2018 21:50

Draakje wrote:
Sunday 31 December 2017 15:08
Hi All,

I have actually 2 questions.

My first question is about controlling the OTGW with a remote domoticz.

Let me explain my situation first.

I have 2 raspberry pi 3. One downstairs in the meter cabinet and the other one on the 2nd floor next to the boiler /cv.

My raspberry downstairs is my main domoticz and the other one is remote.

When I try to set the room temperature from the remote (the domoticz upstairs) it works. (although it will take a few minutes to see the change on the thermostat on the wall) But when I set the temperature on the main domoticz (downstairs) nothing happens.
Is this just a thing that doesn't work like this?

Other question is more for my curiosity.
When I set the temperature with domoticz I get a (new) symbol in the display of the thermostat.

Does anyone have a good explanation for this symbol (see picture) ? I could not find it in the manual.
(I have a honeywell Chronotherm Touch)
Regards,
Is the raspberry next to the boiler only used for OTGW?
I use it in the following way:

On the raspberry next to the boiler I run ser2net. (creates a LAN device of a local USB device)
Domoticz has a hardware device called OTGW LAN.
Your main pi can connect to the ser2net remote port and voila. OTGW messages in your main domoticz installation.

Although your solution should also work, however I don't have experience with remote domoticz installations.
Using Pass2php since 2016-12
LAN: RFLink, P1-Port, OTGW, MySensors
USB: RFXCom, ZWave
WIFI: Mi-light Wifi-Bridge, Sonoff, ESP8266, Xiaomi Gateway
Solar: Omnik Inverter, PVOutput
Video: Kodi clients with Harmony HUB
Sensors: You name it I probably got 1.

Draakje
Posts: 113
Joined: Thursday 22 October 2015 21:14
Target OS: Linux
Domoticz version: 3.5468
Contact:

Re: OTGW use with remote session

Post by Draakje » Tuesday 02 January 2018 8:38

Well the remote Domoticz does run a few other thing..
But I like your thinking..

Will have a look into ser2net (when I find the time :p)

thanks
Hardware: Raspberry Pi 3, OTGW, 433MHz Superheterodyne 3310 RF Link
Software: Ubuntu 16.04, Domoticz v3.5468, WiringPi, rc-switch

User avatar
sincze
Posts: 988
Joined: Monday 02 June 2014 22:46
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Netherlands
Contact:

Re: OTGW use with remote session

Post by sincze » Tuesday 02 January 2018 11:12

You will have it up and running in 5 minutes :)

https://www.domoticz.com/forum/viewtopi ... 1&start=80

Good luck.

Another idea would be to create a virtual thermostat on your primary domoticz and have it talk to the remote domoticz Pi via json calls.
:)

But if the remote server functionality would work you were not looking at these work arounds. I have to agree with you.
Using Pass2php since 2016-12
LAN: RFLink, P1-Port, OTGW, MySensors
USB: RFXCom, ZWave
WIFI: Mi-light Wifi-Bridge, Sonoff, ESP8266, Xiaomi Gateway
Solar: Omnik Inverter, PVOutput
Video: Kodi clients with Harmony HUB
Sensors: You name it I probably got 1.

guus_b
Posts: 11
Joined: Sunday 26 January 2014 16:07
Target OS: Raspberry Pi
Domoticz version: Stable
Location: NL
Contact:

Re: OTGW use with remote session

Post by guus_b » Tuesday 02 January 2018 13:13

I am running roughly the same setup as you do and it is working without any problems.

Master: RPi 3 with Domoticz v3.8153 in the meter cabinet
Slave: RPi (first version) with Domoticz v3.8153 in the attic next to te boiler. This one has the OTGW connected to it through USB.

Have you read the article about device sharing in the Domoticz Wiki? https://www.domoticz.com/wiki/Setting_up_Device_sharing
Are there any messages in the Domoticz log when you change the temp from the master?

About your second question: The manual of my Honeywell Round Modulation states that the symbol means that the temp has been set by a home automation system instead of manually. Check out the attached image (couldn't find an English version ;) )
Attachments
symbol.PNG
symbol.PNG (190.86 KiB) Viewed 1910 times

Draakje
Posts: 113
Joined: Thursday 22 October 2015 21:14
Target OS: Linux
Domoticz version: 3.5468
Contact:

Re: OTGW use with remote session

Post by Draakje » Tuesday 02 January 2018 14:08

guus_b wrote:
Tuesday 02 January 2018 13:13
I am running roughly the same setup as you do and it is working without any problems.

Master: RPi 3 with Domoticz v3.8153 in the meter cabinet
Slave: RPi (first version) with Domoticz v3.8153 in the attic next to te boiler. This one has the OTGW connected to it through USB.

Have you read the article about device sharing in the Domoticz Wiki? https://www.domoticz.com/wiki/Setting_up_Device_sharing
Are there any messages in the Domoticz log when you change the temp from the master?

About your second question: The manual of my Honeywell Round Modulation states that the symbol means that the temp has been set by a home automation system instead of manually. Check out the attached image (couldn't find an English version ;) )
Yes, thanks for the manual picture for your thermostat. I was thinking it ment something like that.

As for the sharing. I have read the wiki but will read again..
As I just read it again I see nno issue as both of my raspberry's are identical (hardware and OS) But I will check this little/big when I am home just to be absolutely sure

I don't see errors when setting the temperature on the master domoticz. (it just isn't doing anything)

Thanks for your reply
Hardware: Raspberry Pi 3, OTGW, 433MHz Superheterodyne 3310 RF Link
Software: Ubuntu 16.04, Domoticz v3.5468, WiringPi, rc-switch

User avatar
sincze
Posts: 988
Joined: Monday 02 June 2014 22:46
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Netherlands
Contact:

Re: OTGW use with remote session

Post by sincze » Tuesday 02 January 2018 14:29

Good to read the remote domoticz option should work.

Me to had issues in the past with a remote domoticz install.
Partly succesful devices showing up in the master. Also the random Domoticz crashes. I did not know back then how to automate the restart.

I abondoned the idea and started to use ser2net.
It can run on even cheaper devices than a € 30 raspberry.
However if you have the hardware available you should use it ofcourse. :D

My Smartmeter and watermeter are being read by a hardened-pi.
Smartmeter data travels the Ser2Net way.
Watermeter data is rsynced to the master pi.

OTGW & RFLINK also from different hardware via Ser2Net to the main domoticz installation.
A robust solution that has been running for over 3 years now. :lol:
Using Pass2php since 2016-12
LAN: RFLink, P1-Port, OTGW, MySensors
USB: RFXCom, ZWave
WIFI: Mi-light Wifi-Bridge, Sonoff, ESP8266, Xiaomi Gateway
Solar: Omnik Inverter, PVOutput
Video: Kodi clients with Harmony HUB
Sensors: You name it I probably got 1.

Draakje
Posts: 113
Joined: Thursday 22 October 2015 21:14
Target OS: Linux
Domoticz version: 3.5468
Contact:

Re: OTGW use with remote session

Post by Draakje » Tuesday 02 January 2018 15:02

sincze wrote:
Tuesday 02 January 2018 14:29
Good to read the remote domoticz option should work.

Me to had issues in the past with a remote domoticz install.
Partly succesful devices showing up in the master. Also the random Domoticz crashes. I did not know back then how to automate the restart.

I abondoned the idea and started to use ser2net.
It can run on even cheaper devices than a € 30 raspberry.
However if you have the hardware available you should use it ofcourse. :D

My Smartmeter and watermeter are being read by a hardened-pi.
Smartmeter data travels the Ser2Net way.
Watermeter data is rsynced to the master pi.

OTGW & RFLINK also from different hardware via Ser2Net to the main domoticz installation.
A robust solution that has been running for over 3 years now. :lol:
I will definitely look into the ser2net option because I can't see why it isn't working..
And I also have some issue with remote domoticz (not getting all of my sensors to the master..
Have it for a long time and given up on the solution.
Hardware: Raspberry Pi 3, OTGW, 433MHz Superheterodyne 3310 RF Link
Software: Ubuntu 16.04, Domoticz v3.5468, WiringPi, rc-switch

guus_b
Posts: 11
Joined: Sunday 26 January 2014 16:07
Target OS: Raspberry Pi
Domoticz version: Stable
Location: NL
Contact:

Re: OTGW use with remote session

Post by guus_b » Tuesday 02 January 2018 15:08

What version of Domoticz are you using?
I am running the latest stable version without issues on the device sharing subject.

Here is a user having trouble using beta v3.8755: viewtopic.php?t=21142

User avatar
sincze
Posts: 988
Joined: Monday 02 June 2014 22:46
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Netherlands
Contact:

Re: OTGW use with remote session

Post by sincze » Tuesday 02 January 2018 15:24

guus_b wrote:
Tuesday 02 January 2018 15:08
What version of Domoticz are you using?
I am running the latest stable version without issues on the device sharing subject.

Here is a user having trouble using beta v3.8755: viewtopic.php?t=21142
I am running v3.8153, however back in the days an earlier version ofcourse.
Pretty much the same issue as Draakje. Not all devices showing up. I had to monitor some sensors from a remote (other part of the country) location. Not all devices showed up for some reason.
I think indeed it should work. However for me for now I have a flawless solution and don't need a second domoticz installation. That requires maintenance and updates. :D , I've one controller and the rest are 'dumb' sensor-nodes sending their info to the main controller that has my attention :lol:
Using Pass2php since 2016-12
LAN: RFLink, P1-Port, OTGW, MySensors
USB: RFXCom, ZWave
WIFI: Mi-light Wifi-Bridge, Sonoff, ESP8266, Xiaomi Gateway
Solar: Omnik Inverter, PVOutput
Video: Kodi clients with Harmony HUB
Sensors: You name it I probably got 1.

Draakje
Posts: 113
Joined: Thursday 22 October 2015 21:14
Target OS: Linux
Domoticz version: 3.5468
Contact:

Re: OTGW use with remote session

Post by Draakje » Tuesday 02 January 2018 15:34

sincze wrote:
Tuesday 02 January 2018 15:24
guus_b wrote:
Tuesday 02 January 2018 15:08
What version of Domoticz are you using?
I am running the latest stable version without issues on the device sharing subject.

Here is a user having trouble using beta v3.8755: viewtopic.php?t=21142
I am running v3.8153, however back in the days an earlier version ofcourse.
Pretty much the same issue as Draakje. Not all devices showing up. I had to monitor some sensors from a remote (other part of the country) location. Not all devices showed up for some reason.
I think indeed it should work. However for me for now I have a flawless solution and don't need a second domoticz installation. That requires maintenance and updates. :D , I've one controller and the rest are 'dumb' sensor-nodes sending their info to the main controller that has my attention :lol:
I am running the same version v3.8153 ( I do not like to run beta's :) )
Hardware: Raspberry Pi 3, OTGW, 433MHz Superheterodyne 3310 RF Link
Software: Ubuntu 16.04, Domoticz v3.5468, WiringPi, rc-switch

Draakje
Posts: 113
Joined: Thursday 22 October 2015 21:14
Target OS: Linux
Domoticz version: 3.5468
Contact:

Re: OTGW use with remote session

Post by Draakje » Wednesday 24 January 2018 23:42

sincze wrote:
Tuesday 02 January 2018 11:12
You will have it up and running in 5 minutes :)

viewtopic.php?t=211&start=80

Good luck.

Another idea would be to create a virtual thermostat on your primary domoticz and have it talk to the remote domoticz Pi via json calls.
:)

But if the remote server functionality would work you were not looking at these work arounds. I have to agree with you.

Ok I finally found the time to look into this and my o my ... This was easy...

it works like a charm...

one question though :) it seems there is a 2 minuten delay.. Is this a setting or just how it works?
(explanation: I set the room temperature to 23 and I will see this on the display on the thermostat after 2 minutes.)
Hardware: Raspberry Pi 3, OTGW, 433MHz Superheterodyne 3310 RF Link
Software: Ubuntu 16.04, Domoticz v3.5468, WiringPi, rc-switch

User avatar
sincze
Posts: 988
Joined: Monday 02 June 2014 22:46
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Netherlands
Contact:

Re: OTGW use with remote session

Post by sincze » Thursday 25 January 2018 10:07

2 minutes delay with second domoticz installation or 2 minutes delay with ser2net solution ?
:D
Using Pass2php since 2016-12
LAN: RFLink, P1-Port, OTGW, MySensors
USB: RFXCom, ZWave
WIFI: Mi-light Wifi-Bridge, Sonoff, ESP8266, Xiaomi Gateway
Solar: Omnik Inverter, PVOutput
Video: Kodi clients with Harmony HUB
Sensors: You name it I probably got 1.

Draakje
Posts: 113
Joined: Thursday 22 October 2015 21:14
Target OS: Linux
Domoticz version: 3.5468
Contact:

Re: OTGW use with remote session

Post by Draakje » Thursday 25 January 2018 10:27

sincze wrote:
Thursday 25 January 2018 10:07
2 minutes delay with second domoticz installation or 2 minutes delay with ser2net solution ?
:D
Good question :)

2 minutes delay using ser2net (as in using OTGW LAN)
Hardware: Raspberry Pi 3, OTGW, 433MHz Superheterodyne 3310 RF Link
Software: Ubuntu 16.04, Domoticz v3.5468, WiringPi, rc-switch

User avatar
sincze
Posts: 988
Joined: Monday 02 June 2014 22:46
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Netherlands
Contact:

Re: OTGW use with remote session

Post by sincze » Thursday 25 January 2018 13:38

Ok. I Guess this is the famous Boiler/Thermostat acceptance thing. :D

You can check it by instead of using ser2net you run the OTMonitor on the client pi and temporarily relay the messages via OTMonitor to Domoticz.
- You set the thermostat in domoticz
- You can see the temperature override in otmonitor & domoticz
- After that it takes some time before the boiller / temperature accepts it and shows it in the top part..

But fun part is with OTMonitor you can see what happens.
It works that is the best thing.
Using Pass2php since 2016-12
LAN: RFLink, P1-Port, OTGW, MySensors
USB: RFXCom, ZWave
WIFI: Mi-light Wifi-Bridge, Sonoff, ESP8266, Xiaomi Gateway
Solar: Omnik Inverter, PVOutput
Video: Kodi clients with Harmony HUB
Sensors: You name it I probably got 1.

Draakje
Posts: 113
Joined: Thursday 22 October 2015 21:14
Target OS: Linux
Domoticz version: 3.5468
Contact:

Re: OTGW use with remote session

Post by Draakje » Thursday 25 January 2018 14:12

sincze wrote:
Thursday 25 January 2018 13:38
Ok. I Guess this is the famous Boiler/Thermostat acceptance thing. :D

You can check it by instead of using ser2net you run the OTMonitor on the client pi and temporarily relay the messages via OTMonitor to Domoticz.
- You set the thermostat in domoticz
- You can see the temperature override in otmonitor & domoticz
- After that it takes some time before the boiller / temperature accepts it and shows it in the top part..

But fun part is with OTMonitor you can see what happens.
It works that is the best thing.
So for what you are saying is that with OTmonitor I can confirm the delay..

As I won't be using this very often I think I have no need for confirmation :p

Thanks for the tip will keep it in mind
Hardware: Raspberry Pi 3, OTGW, 433MHz Superheterodyne 3310 RF Link
Software: Ubuntu 16.04, Domoticz v3.5468, WiringPi, rc-switch

User avatar
sincze
Posts: 988
Joined: Monday 02 June 2014 22:46
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Netherlands
Contact:

Re: OTGW use with remote session

Post by sincze » Thursday 25 January 2018 18:03

Draakje wrote:
Thursday 25 January 2018 14:12
sincze wrote:
Thursday 25 January 2018 13:38
Ok. I Guess this is the famous Boiler/Thermostat acceptance thing. :D

You can check it by instead of using ser2net you run the OTMonitor on the client pi and temporarily relay the messages via OTMonitor to Domoticz.
- You set the thermostat in domoticz
- You can see the temperature override in otmonitor & domoticz
- After that it takes some time before the boiller / temperature accepts it and shows it in the top part..

But fun part is with OTMonitor you can see what happens.
It works that is the best thing.
So for what you are saying is that with OTmonitor I can confirm the delay..

As I won't be using this very often I think I have no need for confirmation :p

Thanks for the tip will keep it in mind
Yes just set temperature in domoticz with setpoint.
It will show TT20 for example in domoticz log.
You can switch to otmonitor and will see TT20 as the domoticz log gets this from otmonitor.
After a while you will see the requested temperature appear in temp override field.

It seems all is working as requested but for your confidence just check it.
revert back to ser2net afterwards. It will work. Has been working here for several years. :D
Using Pass2php since 2016-12
LAN: RFLink, P1-Port, OTGW, MySensors
USB: RFXCom, ZWave
WIFI: Mi-light Wifi-Bridge, Sonoff, ESP8266, Xiaomi Gateway
Solar: Omnik Inverter, PVOutput
Video: Kodi clients with Harmony HUB
Sensors: You name it I probably got 1.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest