OTGW Firmware 5.0 PS=1 output changed

For OpenTherm-gateway related questions in Domoticz

Moderator: leecollings

Post Reply
User avatar
TheSpanishInq
Posts: 31
Joined: Saturday 18 April 2015 14:04
Target OS: Linux
Domoticz version: 2020.2
Location: The Netherlands
Contact:

OTGW Firmware 5.0 PS=1 output changed

Post by TheSpanishInq »

I haven't got my OTGW up and running yet, just wanted to give you a heads up. The latest firmware for the OTWG, 5.0 dd 18 Jan 2021, has changed the output of the PS=1 command.
Changelog:
Version 5.0, released 18 January 2021
Potential incompatibility: The PS=1 output has changed. If using this function, the program processing the information will have to be adapted accordingly.

- Add support for a 2nd central heating circuit using the new C2, and H2 commands.
- New TS command to select if a connected temperature sensor is used for the outside temperature (O), or the return water temperature (R). The current setting can be verified with the PR=D command.
- Support additional commands, like SH, SW and VS, in standalone mode.
- Report additional values in a PS=1 report: 7 (Cooling control), 8 (Control setpoint 2), 19 (DHW flow rate), 23 (CH2 room setpoint), 31 (CH2 flow temperature), 33 (Boiler exhaust temperature), 70 (V/H master status), 71 (V/H control setpoint), 77 (Relative ventilation).
- Use a WriteData request when sending the following IDs as alternative messages: 1 (TSet), 8 (TSetCH2), 14 (MaxRelMod), and 71 (VSet).
- Repeat alternative messages that didn't receive a valid response.
I'm not a C++ developer but if I take a look at hardware/OTGWBase.cpp

Code: Select all

void OTGWBase::ParseLine()
{
	if (m_bufferpos<2)
		return;
	std::string sLine((char*)&m_buffer);

	std::vector<std::string> results;
	StringSplit(sLine,",",results);
	if (results.size()==25)
	{
		...list of items processed
it seems to me the PS=1 output will be ignored if more than 25 arguments are received. Which is probably the case with FW 5.0 as it returns 9 additional values.

Does anyone have any experience with Domoticz and this firmware?
And could someone confirm or disprove my assumtion?
Domoticz on Debian AMD64 with Aeon Z-Stick. V2020.2 (build 12900)
ZME_RC2
jake
Posts: 742
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: OTGW Firmware 5.0 PS=1 output changed

Post by jake »

I have not installed the 5.0 software. I think it is better to wait until domoticz is adapted to this change.
xvisor
Posts: 2
Joined: Wednesday 27 February 2019 23:28
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: build 14600
Contact:

Re: OTGW Firmware 5.0 PS=1 output changed

Post by xvisor »

I second an update on the OTGW code. I wanted to upgrade my OTGW, luckily I read the note on there site and checked here first to find out it's not supported yet.
Domoticz running @Pi3B with Aeonlabs Z-stick, P1 USB, Sony TV, Yamaha receiver, OTGW v4, Anna Thermostat, multiple self made Arduino https temperature sensors, etc.
User avatar
TheSpanishInq
Posts: 31
Joined: Saturday 18 April 2015 14:04
Target OS: Linux
Domoticz version: 2020.2
Location: The Netherlands
Contact:

Re: OTGW Firmware 5.0 PS=1 output changed

Post by TheSpanishInq »

Just got my brand new Nobo-OTGW up and running, guest what, FW 5.0... Domotics did add four devices and that's it :(
Devices added:
GPIOAPulledToGround
GPIOBPulledToGround
GPIOAStatusIsHigh
GPIOBStatusIsHigh

The output of PS=1 is logged by Domoticz and has 34 values:
2021-01-30 17:53:04.531 Status: OTGW: 00000010/00000000,10.00,00000001/00000001,0.00,0.00,0.00,0/0,19.00,0.00,2.00,0.00,0.00,18.88,34.00,0.40,0.00,33.00,0.00,0,90/10,80/20,0.00,0.00,00000000/00000000,0,0,0,0,0,0,0,0,0,0

I'll try and figure out howto put in a feature request for support for FW 5.0. Will keep you posted.
Domoticz on Debian AMD64 with Aeon Z-Stick. V2020.2 (build 12900)
ZME_RC2
User avatar
kiddigital
Posts: 437
Joined: Thursday 10 August 2017 6:52
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: OTGW Firmware 5.0 PS=1 output changed

Post by kiddigital »

See this feature request topic for more info.
One RPi with Domoticz, RFX433e, aeon labs z-wave plus stick GEN5, ha-bridge 5.4.0 for Alexa, Philips Hue Bridge, Pimoroni Automation Hat
One RPi with Pi foundation standard touch screen to display Dashticz
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests