OTGW with WeMos to Domoticz

For OpenTherm-gateway related questions in Domoticz

Moderator: leecollings

Post Reply
dropjeslover
Posts: 2
Joined: Thursday 30 March 2023 21:48
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

OTGW with WeMos to Domoticz

Post by dropjeslover »

Hi all,

I'm having issues with my heat pump and bought a OTGW to log its behaviour.
I already have Domoticz running on a RPi (OS = raspbian Buster), to log a few RF link thermometers and my electricity. Here I noticed for the last years, despite multiple attempts in settings and changing the system (+100l vessel, all floor heating) that my heat pump was going on/off 6x per hour, for almost forever. Not good.

I ordered the OTGW with the WeMos D1 Mini, including latest firmware (gateway 6. 5).

I've added the OTGW to the thermostat and my wifi network, when I go to otgw. local I see data. It corresponds with what my heatpump says on its display.
With the WeMos D1 Mini, I can only configure it via this screen:
OTGW.png
OTGW.png (32.38 KiB) Viewed 1452 times
I've added the hardware to Domoticz:
2023-03-29 21_39_06-Domoticz — Mozilla Firefox.png
2023-03-29 21_39_06-Domoticz — Mozilla Firefox.png (37.47 KiB) Viewed 1452 times
Domoticz does see... well... something.
No devices pop up, but in the log I see:

Code: Select all

2023-03-29 21:41:31. 207 Status: OpenTherm: 21:41:30. 031984 ( 16264| 12920) operator() ( 108): in 'onNotFound()'!! [/api/v0/devtime] =>
2023-03-29 21:41:31. 207 Status: OpenTherm: 21:41:30. 034668 ( 13576| 12920) operator() ( 111): next: processAPI(/api/v0/devtime)
2023-03-29 21:41:31. 207 Status: OpenTherm: 21:41:30. 035782 ( 13576| 12920) processAPI ( 31): from[IP] URI[/api/v0/devtime] method[GET]
2023-03-29 21:41:31. 207 Status: OpenTherm: 21:41:30. 036916 ( 13552| 12920) processAPI ( 44): >>word[0] => [], word[1] => [api], word[2] => [v0], word[3] => [devtime],
2023-03-29 21:41:31. 289 Status: OpenTherm: 21:41:30. 115316 ( 16104| 13296) operator() ( 108): in 'onNotFound()'!! [/api/v1/otgw/otmonitor] =>
2023-03-29 21:41:31. 290 Status: OpenTherm: 21:41:30. 117735 ( 14200| 13296) operator() ( 111): next: processAPI(/api/v1/otgw/otmonitor)
2023-03-29 21:41:31. 290 Status: OpenTherm: 21:41:30. 118802 ( 14200| 13296) processAPI ( 31): from[IP] URI[/api/v1/otgw/otmonitor] method[GET]
2023-03-29 21:41:31. 299 Status: OpenTherm: 21:41:30. 119924 ( 14160| 13296) processAPI ( 44): >>word[0] => [], word[1] => [api], word[2] => [v1], word[3] => [otgw], word[4] => [otmonitor],
2023-03-29 21:41:31. 991 Status: OpenTherm: 21:41:31 .814223 ( 16264| 15240) operator() ( 108): in 'onNotFound()'!! [/api/v1/otgw/otmonitor] =>
2023-03-29 21:41:31. 991 Status: OpenTherm: 21:41:31 .816856 ( 13576| 12648) operator() ( 111): next: processAPI(/api/v1/otgw/otmonitor)
2023-03-29 21:41:31. 991 Status: OpenTherm: 21:41:31. 817958 ( 13576| 12648) processAPI ( 31): from[IP] URI[/api/v1/otgw/otmonitor] method[GET]
2023-03-29 21:41:31. 991 Status: OpenTherm: 21:41:31. 819248 ( 13536| 12648) processAPI ( 44): >>word[0] => [], word[1] => [api], word[2] => [v1], word[3] => [otgw], word[4] => [otmonitor],

2023-03-29 21:41:32. 275 Status: OpenTherm: 21:41:31. 102007 ( 16888| 15240) operator() ( 108): in 'onNotFound()'!! [/api/v0/devtime] =>
2023-03-29 21:41:32. 275 Status: OpenTherm: 21:41:31. 104463 ( 14200| 13296) operator() ( 111): next: processAPI(/api/v0/devtime)
2023-03-29 21:41:32. 275 Status: OpenTherm: 21:41:31. 105364 ( 14200| 13296) processAPI ( 31): from[IP] URI[/api/v0/devtime] method[GET]
2023-03-29 21:41:32. 275 Status: OpenTherm: 21:41:31. 106398 ( 14176| 13296) processAPI ( 44): >>word[0] => [], word[1] => [api], word[2] => [v0], word[3] => [devtime],
2023-03-29 21:41:32. 993 Status: OpenTherm: 21:41:32. 825525 ( 16184| 15240) operator() ( 108): in 'onNotFound()'!! [/api/v1/otgw/otmonitor] =>
2023-03-29 21:41:32. 993 Status: OpenTherm: 21:41:32. 828116 ( 13496| 12648) operator() ( 111): next: processAPI(/api/v1/otgw/otmonitor)
2023-03-29 21:41:32. 993 Status: OpenTherm: 21:41:32. 829274 ( 13496| 12648) processAPI ( 31): from[IP] URI[/api/v1/otgw/otmonitor] method[GET]

2023-03-29 21:41:33. 006 Status: OpenTherm: 21:41:32. 830440 ( 13456| 12648) processAPI ( 44): >>word[0] => [], word[1] => [api], word[2] => [v1], word[3] => [otgw], word[4] => [otmonitor],
2023-03-29 21:41:33. 117 Status: OpenTherm: 21:41:32. 941464 ( 16808| 15240) operator() ( 108): in 'onNotFound()'!! [/api/v0/devtime] =>
2023-03-29 21:41:33. 117 Status: OpenTherm: 21:41:32. 943868 ( 14120| 13296) operator() ( 111): next: processAPI(/api/v0/devtime)
2023-03-29 21:41:33. 117 Status: OpenTherm: 21:41:32. 944905 ( 14120| 13296) processAPI ( 31): from[IP] URI[/api/v0/devtime] method[GET]
2023-03-29 21:41:33. 117 Status: OpenTherm: 21:41:32. 946045 ( 14096| 13296) processAPI ( 44): >>word[0] => [], word[1] => [api], word[2] => [v0], word[3] => [devtime],
2023-03-29 21:41:33. 999 Status: OpenTherm: 21:41:33. 825114 ( 16184| 15240) operator() ( 108): in 'onNotFound()'!! [/api/v1/otgw/otmonitor] =>
2023-03-29 21:41:33. 999 Status: OpenTherm: 21:41:33. 827735 ( 13496| 12648) operator() ( 111): next: processAPI(/api/v1/otgw/otmonitor)
2023-03-29 21:41:33. 999 Status: OpenTherm: 21:41:33. 828832 ( 13496| 12648) processAPI ( 31): from[IP] URI[/api/v1/otgw/otmonitor] method[GET]
But also the errors:

Code: Select all

 2023-03-29 21:08:16. 583 Error: OPenTherm hardware (9) nothing received for more than 5 Minutes!....
2023-03-29 21:08:17. 584 Error: Restarting: OPenTherm
2023-03-29 21:13:25. 143 Error: OPenTherm hardware (9) nothing received for more than 5 Minutes!....
2023-03-29 21:13:26. 144 Error: Restarting: OPenTherm
2023-03-29 21:18:33. 597 Error: OPenTherm hardware (9) nothing received for more than 5 Minutes!....
2023-03-29 21:18:34. 597 Error: Restarting: OPenTherm
After tinkering around a bit I decided to go the MQTT route.
I've installed the mosquitto broker on the RPi (allowing anonymous) and enabled the MQTT on the OTGW configuration screen (see screenshot above).
I used this manual on the Domoticz website https://www.domoticz.com/wiki/MQTT
I don't know why, but last version I could install was 1. 5. 7, not the 2.+.

Now Domoticz is actually receiving... something, but still nothing:

Code: Select all

 2023-03-29 23:18:37. 194 Status: OpenTherm: 23:18:36. 094799 ( 16536| 12984) operator() ( 108): in 'onNotFound()'!! [/api/v0/devtime] =>
2023-03-29 23:18:37. 194 Status: OpenTherm: 23:18:36. 097277 ( 15192| 12984) operator() ( 111): next: processAPI(/api/v0/devtime)
2023-03-29 23:18:37. 194 Status: OpenTherm: 23:18:36. 098107 ( 15192| 12984) processAPI ( 31): from[IP] URI[/api/v0/devtime] method[GET]
2023-03-29 23:18:37. 194 Status: OpenTherm: 23:18:36. 099110 ( 15168| 12984) processAPI ( 44): >>word[0] => [], word[1] => [api], word[2] => [v0], word[3] => [devtime], 
 2023-03-29 23:19:59. 150 Status: OpenTherm: 23:19:58. 009820 ( 16472| 12984) handleDebug ( 66):
2023-03-29 23:19:59. 150 Status: OpenTherm: Debug RestAPI: false
2023-03-29 23:19:59. 150 Status: OpenTherm: 23:19:58. 013979 ( 15128| 12984) handleDebug ( 70):
2023-03-29 23:19:59. 150 Status: OpenTherm: Debug MQTT: true
2023-03-29 23:19:59. 150 Status: OpenTherm: 23:19:58. 017934 ( 15128| 12984) handleDebug ( 62):
2023-03-29 23:19:59. 150 Status: OpenTherm: 23:19:58. 023274 ( 15128| 12984) handleDebug ( 70):
2023-03-29 23:19:59. 150 Status: OpenTherm: Debug MQTT: false
2023-03-29 23:19:59. 203 Status: OpenTherm: 23:19:58. 096095 ( 15784| 12984) handleDebug ( 62):
And the same 5 minute timeouts in the error log.

I have no idea what to do, can anyone help me?
Jofre
Posts: 12
Joined: Sunday 12 May 2019 14:09
Target OS: Raspberry Pi / ODroid
Domoticz version: Latest
Location: Netherlands
Contact:

Re: OTGW with WeMos to Domoticz

Post by Jofre »

Hi,
Use port 25238 in the Opentherm Gateway with Lan interface.
dropjeslover
Posts: 2
Joined: Thursday 30 March 2023 21:48
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: OTGW with WeMos to Domoticz

Post by dropjeslover »

Jofre wrote: Friday 31 March 2023 8:48 Hi,
Use port 25238 in the Opentherm Gateway with Lan interface.
Yes, that's it!
Now I'm seeing everything.

I've tried every port that was mentioned somewhere already, but this port I didn't come across.
Clear documentation / instructions is quite an issue...
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests