![]() |
Gree Versati IV heat pump - Modbus connection - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: Gree Versati IV heat pump - Modbus connection (/showthread.php?tid=5843) |
Gree Versati IV heat pump - Modbus connection - kyriakos@webros.gr - 14.01.2025 Hello, I am trying to connect my Gree Versati IV heat pump with LogicMachine Reactor through Modbus. I can read the values of registers from Read Test button on modbus tab inside the interface of logicmachine. I would like some help to make the rest procedure to get these values on the knx bus. Thank you. RE: Gree Versati IV heat pump - Modbus connection - admin - 15.01.2025 Please provide Modbus register table doc for your device. RE: Gree Versati IV heat pump - Modbus connection - kyriakos@webros.gr - 15.01.2025 (15.01.2025, 07:52)admin Wrote: Please provide Modbus register table doc for your device. Thank you for the response. I found the table in the following link: https://man.kievclimate.com/man/Gree/Versati/Versati%20III/R32_Versati%20Modbus%20V1.5.pdf RE: Gree Versati IV heat pump - Modbus connection - Daniel - 15.01.2025 Share the settings you used in Read test and which value was it. RE: Gree Versati IV heat pump - Modbus connection - kyriakos@webros.gr - 15.01.2025 (15.01.2025, 11:30)Daniel Wrote: Share the settings you used in Read test and which value was it. RTU1 Device Address: 1 Function: Holding Register Address: 13 (Water Tank Temperature) Read Length: 1 It returns the correct answer. [RTU 1 settings: Port: /dev/RS485-1 Baud Rater: 9600 Parity: None Half Duplex] RE: Gree Versati IV heat pump - Modbus connection - Daniel - 15.01.2025 Select the datatype, it is most likely uint16 RE: Gree Versati IV heat pump - Modbus connection - kyriakos@webros.gr - 15.01.2025 (15.01.2025, 14:02)Daniel Wrote: Select the datatype, it is most likely uint16 From Test button, I can read correctly the value. I am trying to write in a correct way, the JSON file to import it as profile. RE: Gree Versati IV heat pump - Modbus connection - Daniel - 15.01.2025 But in Read test you didn't select datatype and if you don't select it it is using int16 but documentations says uint16 so want to be sure before making you a template. RE: Gree Versati IV heat pump - Modbus connection - Daniel - 15.01.2025 Try this, you have two examples. RE: Gree Versati IV heat pump - Modbus connection - kyriakos@webros.gr - 15.01.2025 (15.01.2025, 14:09)Daniel Wrote: But in Read test you didn't select datatype and if you don't select it it is using int16 but documentations says uint16 so want to be sure before making you a template. I tried both int16 and uint16 and in both situations, I receive the correct value of temperature. I' ll try the JSON file you sent me. Thank you for your support. RE: Gree Versati IV heat pump - Modbus connection - kyriakos@webros.gr - 17.01.2025 (15.01.2025, 14:31)Daniel Wrote: Try this, you have two examples. I made a progress! I added also some more registers. I don' t know if I do it in the right way, but when I try to add an extra register, I have to delete the profile and do the whole process from the beginning and do the mapping from all of the entities. Is it the only way or I do something wrong? RE: Gree Versati IV heat pump - Modbus connection - admin - 17.01.2025 Yes, you have to create device from scratch when updating the profile. To make things a bit easier you can set group addresses via bus_address field in each mapping entry. This way when creating a device registers will be mapped automatically. Example: https://forum.logicmachine.net/showthread.php?tid=5490&pid=35496#pid35496 RE: Gree Versati IV heat pump - Modbus connection - kyriakos@webros.gr - 22.01.2025 (17.01.2025, 09:03)admin Wrote: Yes, you have to create device from scratch when updating the profile. To make things a bit easier you can set group addresses via bus_address field in each mapping entry. This way when creating a device registers will be mapped automatically. Example: https://forum.logicmachine.net/showthread.php?tid=5490&pid=35496#pid35496 Adding the extra line with bus_address, make things easier! I would like to give me an extra help about getting the information of byte 2 / bit 20 (Heat+Hot Water Priority) where 0:Heat/1:Hot water [ from https://man.kievclimate.com/man/Gree/Versati/Versati%20III/R32_Versati%20Modbus%20V1.5.pdf ]. I tried a lot of different syntax formats, but no correct value. RE: Gree Versati IV heat pump - Modbus connection - admin - 22.01.2025 Try setting type to "coil". Bit number is the coil address. RE: Gree Versati IV heat pump - Modbus connection - kyriakos@webros.gr - 22.01.2025 (22.01.2025, 15:54)admin Wrote: Try setting type to "coil". Bit number is the coil address. Thank you! with this setting I can map this entity in the bus. |