HomeAssistant-VTR-Modbus icon indicating copy to clipboard operation
HomeAssistant-VTR-Modbus copied to clipboard

VTR300 is not answering

Open ChristophDramski opened this issue 2 years ago • 21 comments

Hello @Ztaeyn,

sorry that I am disturbing you. I have paste your yaml file and fitt the ip adress as you said. I am able to send the data to VTR300, but I dont receiving a data from it. I am using as @cmragnar a Waveshare https://www.waveshare.com/w/upload/8/86/RS485-TO-ETH-B-user-manual-en-v1.1.pdf to manage the data. I am sitting since days and I am little bit frustrated. I dont have IAM and Save Touch panel. I am stearing my VTR with a help of Save Light. Thank you for your help in advice.

Best regards, Chris

ChristophDramski avatar Jan 05 '24 15:01 ChristophDramski

Hi, Think your device don't support modbus, mening you cant send. If you are using this one: https://www.waveshare.com/rs485-to-eth.htm

This one is modbus: https://www.waveshare.com/RS232-485-TO-ETH.htm

On Fri, 5 Jan 2024, 16:00 ChristophDramski, @.***> wrote:

Hello @Ztaeyn https://github.com/Ztaeyn,

sorry that I am disturbing you. I have paste your yaml file and fitt the ip adress as you said. I am able to send the data to VTR300, but I dont receiving a data from it. I am using as @cmragnar https://github.com/cmragnar a Waveshare https://www.waveshare.com/w/upload/8/86/RS485-TO-ETH-B-user-manual-en-v1.1.pdf to manage the data. I am sitting since days and I am little bit frustrated. I dont have IAM and Save Touch panel. I am stearing my VTR with a help of Save Light. Thank you for your help in advice.

Best regards, Chris

— Reply to this email directly, view it on GitHub https://github.com/Ztaeyn/HomeAssistant-VTR-Modbus/issues/21, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMUC5OC5NEXMSGKTLLDJRJDYNAIQZAVCNFSM6AAAAABBORQV6WVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA3DONBZGY3DGMI . You are receiving this because you were mentioned.Message ID: @.***>

cmragnar avatar Jan 05 '24 15:01 cmragnar

Hi @cmragnar,

nice to hear from you :-) I am using this one: https://www.waveshare.com/rs485-to-eth-b.htm My settings for them: 1704469526828

So I can choose a Modbus TCP Protocol. In yaml file I have following: 1704469760343

I have also checked signals with oscyloscope. I am seeing I am sending something... but in HA I dont see any result :-(

ChristophDramski avatar Jan 05 '24 15:01 ChristophDramski

Hi, I am myself using an "ELFIN-EW11A-485" (to wifi), where my basic settings differ with higher baud rate at 115.200, even though the manual (linked below) says to use 19.200. I can't communicate at all with that setting.

https://shop.systemair.com/upload/assets/MODBUS_FOR_RESIDENTIAL_D24810_USER_MANUAL_EN__A007_.PDF

Ztaeyn avatar Jan 05 '24 19:01 Ztaeyn

Thanks for your answers, @Ztaeyn. I have seen you are wrote in your yaml rtuovertcp, but @cmragnar use Type: TCP. Can I see your settings on ELFIN Side?

How can I see in HA that data from VTR is coming?

Thanks a lot for your help and support :-)

ChristophDramski avatar Jan 05 '24 19:01 ChristophDramski

Thanks for your answers, @Ztaeyn. I have seen you are wrote in your yaml rtuovertcp, but @cmragnar use Type: TCP. Can I see your settings on ELFIN Side?

How can I see in HA that data from VTR is coming?

Thanks a lot for your help and support :-)

I actually use "TCP" , but from the phone app I merged in another guys changes that use rtuovertp , did not bother changing it as I anyhow secure my own setting :)

First off I would confirm in the controller web interface if it is receiving data, any value above 0, then check a few sensors with typically fluctuating data like sensor.vsr300_heat_recovery,

image image (huh, says uart route in the last picture)

Ztaeyn avatar Jan 05 '24 19:01 Ztaeyn

Thanks a lot for pictures. Hmm my settings seems similar. I am checking the communication on HA side with vsr300_exhaust_air_max_sp, but still seeing not available :-( On Waveshare I am seeing TX that I am sending something but RX is still 0.

I hope that I must not activate or change something on VTR side. Did you activate modbus option (or something Like that) on VTR side?

Hmmm maybe is something bad with adresses and offset, can you take a look there, please?

Thanks a lot for your help and sorry that I am disturbing you :-(

ChristophDramski avatar Jan 05 '24 19:01 ChristophDramski

Not disturbing me at all :)

I think you have to check the vtr settings for Modbus , match up the settings / enable etc.

https://community.home-assistant.io/t/systemair-savecare-ventilation-unit/229653/91

Ztaeyn avatar Jan 05 '24 20:01 Ztaeyn

The problem is I have no possibility to check modbus on VTR side. I have only very simple touch panel: 1704490351190

:-(

ChristophDramski avatar Jan 05 '24 21:01 ChristophDramski

Hello @Ztaeyn , Hello @cmragnar ,

I have wrote the manufacturer. The issue was the baud rate. When you have a VTR 300 BL Ver.A you should work with 1200 Bd (Default-Setting from Manufacturer). Then work everything :-)

@Ztaeyn : I can read a data but I cant set a register. For example: I want to turn on "High Speed", but nothing changed on the side of VTR. I have seen in Entities, that some VTR-Entities are "secured" and cant be written :-( Do you have a Idea?

Best regards, Chris

ChristophDramski avatar Jan 10 '24 18:01 ChristophDramski

I'm really sorry to say I do not know.

Ztaeyn avatar Jan 13 '24 20:01 Ztaeyn

Hello @Ztaeyn,

It is working! Thanks for your help :-) I have only 3 questions:

  • Do you know meaning of Alarm A, B nad C?
  • How can I set a Filter alarm period?
  • I dont see a action after push the button for "Stopp" and "Auto".

Can you help me with this points above?

Best regards, Christoph

ChristophDramski avatar Jan 19 '24 22:01 ChristophDramski

Hi @ChristophDramski . Regarding the alarms,. I had to google. I 've wondered myself but forgotten all about it- All i learned was that class C is repetive alarm.

ref: https://shop.systemair.com/upload/assets/QUICKGUIDE_ACCESS_SW_4_0-1-04_TO_4_6-1-00_151671_EN_A011.PDF?8182a401

Different alarm levels Class A alarm Needs to be acknowledged Class B alarm Needs to be acknowledged Class C alarm Returns when the cause of the alarm disappear

For Stop , It looks like it does not work (never tried it, copied it in since it was in GMTravis node red code. Auto works for me, If I have it in manual mode, it changes to auto.

For setting filter alarm, that's missing in the code. I tried to add it in now, but I am dead tired, did something wrong and had to revert changes. I will look back into it when I get time off, better call it a day for now since the kid will by default wake me up in 4-5 hours from now ..

Ztaeyn avatar Jan 20 '24 22:01 Ztaeyn

@ChristophDramski good news! I have added the possibility to set the filter period, and it seems to be working. I had not updated my systems with changes from other users, so I'm trying to test it with the latest configuration as well.

Edit: code uploaded.

Ztaeyn avatar Jan 21 '24 20:01 Ztaeyn

@Ztaeyn nice! Thank you very much for that. Do you want to push this changes into the branch of your project? I will be really gratefull for that :-) best regards

ChristophDramski avatar Jan 21 '24 21:01 ChristophDramski

Just did! I edited my previous comment as you posted 😅

Ztaeyn avatar Jan 21 '24 21:01 Ztaeyn

Hahaha 😂👍 thanks a lot for your help, I am really Happy about it. I will test it tomorrow and let you know about results.😊 Now I must check what is going on with auto mode. It is little bit weird for me

ChristophDramski avatar Jan 21 '24 21:01 ChristophDramski

Hi, how did it go?

Ztaeyn avatar Mar 11 '24 17:03 Ztaeyn

Hi @Ztaeyn, sorry for my late anwser. I was really busy the last time. I have changed filters in my VTR300 and set the new time period with a help of your code. Everythin is working fine! Thanks a lot for your help, support and work! Best regards, Christoph

ChristophDramski avatar May 17 '24 15:05 ChristophDramski

Hello. Hope somebody can help.....I have copied a pated the yaml files, but it will not connect tom my vtr300. I am using the save connect 2 module, connected via wifi. When i search the log for modes i get 2 errors: Logger: pymodbus.logging Kilde: components/modbus/modbus.py:325 Førs oppstått: 00:25:05 (1 hendelser) Sist logget: 00:25:05

Failed to connect [Errno 111] Connect call failed ('192.168.0.42', 8989)

and

Logger: homeassistant.components.modbus.modbus Kilde: components/modbus/modbus.py:318 integrasjon: Modbus (dokumentasjon, problemer) Førs oppstått: 00:25:12 (1 hendelser) Sist logget: 00:25:12

Pymodbus: VSR300: Error: device: 1 address: 2000 -> Modbus Error: [Connection] Not connected[AsyncModbusTcpClient 192.168.0.42:8989]

So it seems it does not connect, so i wonder if it could be wrong port no. (have also tried 502), or anything else???

Any help is much appreciated:) best regards Lars

gaustabl avatar May 17 '24 22:05 gaustabl

Update; found a program to scan for ports on the saveconnect, an it onl found port 80. So i give up for now😢

gaustabl avatar May 19 '24 15:05 gaustabl

Maybe this is common knowledge, but to me it wasn't. Slave address 0 is not for reading to my knowledge. If your unit is still on default values the first thing to do is to change slave address to something other than 0. Then you will be able to read values from your unit also. I've got the Light control panel and used QModMaster to change the slave address, and now i got at connection in HA.

Ikkeno avatar Mar 23 '25 14:03 Ikkeno