I want to integrate some Modbus devices (e.g. MPPT Controller) into HA.
I ordered a first test subject from waveshare (RS485 To ETH), but I cannot read any value from the device. The manuel mentions some modbus gateway mode which I cannot find in the web UI.
Maybe someone can help with the waveshare device?
Anyways, my actual question is, what modbus TCP gateway devices would you recommend for painless integration into HA?
I can send messages but do not receive any. See screenshot 3.
The Modbus integration docs suggest 255 for slave.
register 3303 is in hex notation. I suppose I need decimal notation?
I am trying a similar configuration with a temperature sensor, but I have a problem with the âregisterâ value. How can I find her? Where can I read it?
I am using a TTL / RS485 converter and a RS485 converter - Ethernet - Cortex M0 - Waveshare 16529.
For the value âregisterâ 40001 Home Assistant displays the value -1
I have a regulator with a RS485 (network like jack) wich I want to get data from. But I dont understand how to connect the one I linked. Do i still use the RS485 port to this gateway?
Hallo Kollege, ich mal deinen schöne Beispiel Code ĂŒbernommen und bekomme jetzt folgende Fehlermeldung:
âKonfiguration fehlerhaft!
Invalid config for [modbus]: expected int for dictionary value @ data[âmodbusâ][1][âsensorsâ][9][âslaveâ]. Got None string value is None for dictionary value @ data[âmodbusâ][1][âsensorsâ][9][âunit_of_measurementâ]. Got None. (See /config/configuration.yaml, line 370).â
Was mache ich falsch bzw was habe ich vergessen in Zeile 370 ?
Hallo Kollege,ich möchte die Daten eines MPPT Laderegler âSRNE ML 4860â (gibt es auch / unter in diversen Varianten / Bezeichnungen) per Modbus TCP mittels WAVESHARE - Gateway ( RS485-TO-ETH) lesen.
Habe mal die Screenshots meiner Einstellung beigefĂŒgt. Vielleicht entdeckt ihr auf Anhieb fehlerhafte Einstellungen die zum Erfolg fĂŒhren könnten
Ich danke euch schon mal ganz ganz herzlich .
I found the address number in the documentation of the unit (ABB M4M)
|Parameter|Unit|Details|Resolution|Data Type|Access|Register (Hex)|Reg (Dec)|
Three phase system current A 0,01 Unsigned Read 5B0E 23310
Current A L1 0,01 Unsigned Read 5B10 23312
Current A L2 0,01 Unsigned Read 5B12 23314
Current A L3 0,01 Unsigned Read 5B14 23316
Current A N 0,01 Unsigned Read 5B16 23318
The solution for the specific device is to only have the RTU framing in ONE place, not twice. This means either:
set the âtypeâ in HomeAssistant to âtcpâ and enable the Protocol âModbus TCP to RTUâ in the Waveshare bridge
OR set the âtypeâ in HomeAssistant to ârtuovertcpâ (like in most of the code snippets) and keep the Protocol âNoneâ (Disabled) in the Waveshare bridge