Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web UI Gateway Mode always false #226

Open
hotchkj opened this issue Sep 23, 2023 · 2 comments
Open

Web UI Gateway Mode always false #226

hotchkj opened this issue Sep 23, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@hotchkj
Copy link

hotchkj commented Sep 23, 2023

I feel like I'm missing something quite obvious, but I've searched the documentation on both this site and the original OTGW, and nothing seems to add up. I've got a NodoShop OpenTherm gateway connected to boiler & thermostat, running MQTT and all seems generally reporting ok, I can see & set thermostat temperature etc. from Home Assistant.

However, whenever I attempt to enable Gateway Mode, nothing immediately appears to change in the Web UI. I've tried via the MQTT set command & directly using OTMonitor. Both show a GW=1 command received. Yet the web UI continues to report Gateway/Standalone false. According to OTMonitor, the device does appear to be in Gateway Mode, but it's hard to be confident of what is reporting what status:

11:45:00.760867	Command: GW=1
11:45:00.818253	GW: P
11:45:00.823888	Command: PR=M
11:45:00.835738	T10D50000	Write-Data	Message ID 213: 0
11:45:00.880847	PR: M=G

Is this a bug in the web UI or is the device actually not operating as a gateway?

Advice appreciated; I may just be misunderstanding something. This remains quite a technical/complex topic!

@hvxl
Copy link

hvxl commented Sep 23, 2023

Reading the source code, it seems this flag indicates whether an A or R message was seen in the last 30 seconds. Such messages may not occur, even in gateway mode, if the list of alternatives is empty or when the thermostat doesn't request any message IDs the boiler doesn't support.

@rvdbreemen
Copy link
Owner

@hotchkj I think I can improve the documentation here.

Like @hvxl correctly explained the flag is actually not based on the status, by querying the gateway, but by monitoring the msgids.

This method is not completely reliable, and should be seen as indication only.

Needs improving in a future release.

@rvdbreemen rvdbreemen added enhancement New feature or request question Further information is requested labels Jan 25, 2024
@rvdbreemen rvdbreemen self-assigned this Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
Status: No status
Development

No branches or pull requests

3 participants