pvainio / vallox-mqtt

Vallox RS-485 MQTT gateway to integrate Vallox RS485 ventilation device to Home Assistant via MQTT. Implements Home Assistant MQTT discovery but can also be used without Home Assistant.
GNU General Public License v3.0
3 stars 5 forks source link

No temperature info #3

Closed karij22 closed 6 months ago

karij22 commented 6 months ago

Hi, I have installed Vallox-Mqtt. I have Vallox-Mqtt and mosquitto running in Raspberry, and Mqtt client running In my Linux PC. When i start all this. 6 entitys are imedistely discovered. I see status of fan, and i can adjust fan speed, but status of all temperature sensors are "unavailable". I have different Vallox model (121). Could the problem be in this ?

pvainio commented 6 months ago

Hi, I have installed Vallox-Mqtt. I have Vallox-Mqtt and mosquitto running in Raspberry, and Mqtt client running In my Linux PC. When i start all this. 6 entitys are imedistely discovered. I see status of fan, and i can adjust fan speed, but status of all temperature sensors are "unavailable". I have different Vallox model (121). Could the problem be in this ?

Most probably that is the reason. Did some research and it looks like there is newer version of the protocol. My device is quite old and is a bit different. I'll cook a new version soon that should support the temperatures from the newer protocol.

pvainio commented 6 months ago

Hi, I have installed Vallox-Mqtt. I have Vallox-Mqtt and mosquitto running in Raspberry, and Mqtt client running In my Linux PC. When i start all this. 6 entitys are imedistely discovered. I see status of fan, and i can adjust fan speed, but status of all temperature sensors are "unavailable". I have different Vallox model (121). Could the problem be in this ?

There is now a new release that might work for you. With configuration NEW_PROTOCOL=true it reads temperatures from different registers, that might work. Unfortunately cannot test this myself with my own old device.

karij22 commented 6 months ago

I try, but no success... Could it help if i give access to my raspberry ?

pvainio commented 6 months ago

I try, but no success... Could it help if i give access to my raspberry ?

Debug logs could help, if set set NEW_PROTOCOL=true and DEBUG=true and send the log/output?

karij22 commented 6 months ago

Here it comes...

logfile.txt

pvainio commented 6 months ago

The issue was closed, is it now ok?

From the logs it can be seen that it does publish the temps to vallox/temp/ topics, so that should be ok. Also it has sent autodiscovery to HA and if the sensors are visible in HA it should also be ok. Then issue might be that the mqtt for the vallox does not have permission to write to vallox/temp/ or ha mqtt user does not have permission to read those?

pvainio commented 6 months ago

Unintentionally reopened

karij22 commented 6 months ago

And story continue... Hi, I had a little problems wit Mosquitto, but now, (at last), it work. So im`m back with this "main issue" Now temperatures shown in MQTT client, also it noticed about fan speed changes, but the speed not shown. As i understand, there is no info coming from vallox. MQTT Explorer : kuva Is there any possibilities that problem is not in "my side"?

pvainio commented 6 months ago

And story continue... Hi, I had a little problems wit Mosquitto, but now, (at last), it work. So im`m back with this "main issue" Now temperatures shown in MQTT client, also it noticed about fan speed changes, but the speed not shown. As i understand, there is no info coming from vallox. MQTT Explorer : kuva Is there any possibilities that problem is not in "my side"?

My device is quite lazy to publish fan speed to rs485 bus so it can take some minutes for it to appear. Does it show the current speed after changing the speed? After changing the speed my device reports the new speed to the bus. If not, could you once again take the debug log when changing the speed to understand what happens on the rs485 bus. Don't really know, but I guess there can be differences between different device models. It might be that your device does not publish the values on its own and requires polling instead.

karij22 commented 6 months ago

With OLD protool:

Hi, it doesn`t show speed after change. I have wait hours.. kuva vallox_log.txt

karij22 commented 6 months ago

Btw... I have also RH% and Co2 sensors. Should it show alse these ?

pvainio commented 6 months ago

With OLD protool:

Hi, it doesn`t show speed after change. I have wait hours.. kuva vallox_log.txt

This was a bug, the speed was not handled correctly the the new list of topics. Should be fixed now within the new release. Currently rh and co2 is not handled, since I don't have the sensors in my Vallox device, but should be easy to add. I found some registers where to read those and will add them next.

karij22 commented 6 months ago

Hi, thanks a lot. I can confirm, the other functions will already work in Vallox 121 SE model 3560 from year 2011 with "new protocol" setting