FHEM - Anwendungen > Heizungssteuerung/Raumklima

SolvisMax ModbusAttr - Referenz für das Auslesen der Temperaturen

(1/1)

Tsturm:
Hallo Zusammen,

meine Solvis-Modbus Anbindung läuft. Anbei die Definition, dann kann man sich die Schreibarbeit sparen. Fokus auf read-only Register zur Auswertung, da ich Home-Automation und essentielle Systeme separiert halte (ich bekomme Ärger, wenn das Haus kalt wird  ;D).

Das Modbusmodul wirft ab und an noch Timeouts, mit den Settings ("timing") ist es aber deutlich besser geworden.

Viel Spaß

Timmo


--- Code: ---defmod Solvis ModbusAttr 1 300 192.168.178.55:502 TCP
attr Solvis userattr dev-h-defExpr dev-h-defLen dev-h-defUnpack dev-i-defLen dev-i-defUnpack obj-i33024-expr obj-i33024-poll obj-i33024-reading obj-i33025-expr obj-i33025-poll obj-i33025-reading obj-i33026-expr obj-i33026-poll obj-i33026-reading obj-i33027-expr obj-i33027-poll obj-i33027-reading obj-i33028-expr obj-i33028-poll obj-i33028-reading obj-i33029-expr obj-i33029-poll obj-i33029-reading obj-i33030-expr obj-i33030-poll obj-i33030-reading obj-i33031-expr obj-i33031-poll obj-i33031-reading obj-i33032-expr obj-i33032-poll obj-i33032-reading obj-i33033-expr obj-i33033-poll obj-i33033-reading obj-i33034-expr obj-i33034-poll obj-i33034-reading obj-i33035-expr obj-i33035-poll obj-i33035-reading obj-i33036-expr obj-i33036-poll obj-i33036-reading obj-i33038-expr obj-i33038-poll obj-i33038-reading obj-i33039-expr obj-i33039-poll obj-i33039-reading obj-i33040-expr obj-i33040-poll obj-i33040-reading obj-i33041-expr obj-i33041-poll obj-i33041-reading obj-i33539-expr obj-i33539-poll obj-i33539-reading
attr Solvis dev-h-defExpr ModbusLD_ScanFormat($hash, $val)
attr Solvis dev-h-defLen 1
attr Solvis dev-h-defUnpack a2
attr Solvis dev-i-defLen 1
attr Solvis dev-i-defUnpack s>
attr Solvis dev-timing-commDelay 1
attr Solvis dev-timing-sendDelay 1
attr Solvis dev-timing-serverTimeout 5
attr Solvis dev-timing-timeout 5
attr Solvis obj-i33024-expr $val / 10
attr Solvis obj-i33024-poll 1
attr Solvis obj-i33024-reading Temp_S01
attr Solvis obj-i33025-expr $val / 10
attr Solvis obj-i33025-poll 1
attr Solvis obj-i33025-reading Temp_S02
attr Solvis obj-i33026-expr $val / 10
attr Solvis obj-i33026-poll 1
attr Solvis obj-i33026-reading Temp_S03
attr Solvis obj-i33027-expr $val / 10
attr Solvis obj-i33027-poll 1
attr Solvis obj-i33027-reading Temp_S04
attr Solvis obj-i33028-expr $val / 10
attr Solvis obj-i33028-poll 1
attr Solvis obj-i33028-reading Temp_S05
attr Solvis obj-i33029-expr $val / 10
attr Solvis obj-i33029-poll 1
attr Solvis obj-i33029-reading Temp_S06
attr Solvis obj-i33030-expr $val / 10
attr Solvis obj-i33030-poll 1
attr Solvis obj-i33030-reading Temp_S07
attr Solvis obj-i33031-expr $val / 10
attr Solvis obj-i33031-poll 1
attr Solvis obj-i33031-reading Temp_S08
attr Solvis obj-i33032-expr $val / 10
attr Solvis obj-i33032-poll 1
attr Solvis obj-i33032-reading Temp_S09
attr Solvis obj-i33033-expr $val / 10
attr Solvis obj-i33033-poll 1
attr Solvis obj-i33033-reading Temp_S10
attr Solvis obj-i33034-expr $val / 10
attr Solvis obj-i33034-poll 1
attr Solvis obj-i33034-reading Temp_S11
attr Solvis obj-i33035-expr $val / 10
attr Solvis obj-i33035-poll 1
attr Solvis obj-i33035-reading Temp_S12
attr Solvis obj-i33036-expr $val / 10
attr Solvis obj-i33036-poll 1
attr Solvis obj-i33036-reading Temp_S13
attr Solvis obj-i33038-expr $val / 10
attr Solvis obj-i33038-poll 1
attr Solvis obj-i33038-reading Temp_S07
attr Solvis obj-i33039-expr $val / 10
attr Solvis obj-i33039-poll 1
attr Solvis obj-i33039-reading Temp_S07
attr Solvis obj-i33040-expr $val / 10
attr Solvis obj-i33040-poll 1
attr Solvis obj-i33040-reading Volumen_Strom_S17
attr Solvis obj-i33041-expr $val / 10
attr Solvis obj-i33041-poll 1
attr Solvis obj-i33041-reading Volumen_Strom_S18
attr Solvis obj-i33539-expr $val / 10
attr Solvis obj-i33539-poll 1
attr Solvis obj-i33539-reading SX aktuelle Leistung
attr Solvis silentReconnect 1


--- Ende Code ---

Tsturm:
Nur für Liebhaber  :D

Hier das Listing für eine Abfrage der Tempeeraturen, und des Einschalten der Hachheizung für Warmwasser (mit Schreibenden Registern).
Das Nachheizen wird mit dem folgende Befehl gestartet:


--- Code: ---Set Solvis WW_Nachheizung_Start 1
--- Ende Code ---

Die Solvis setzt das dann nach Abschluss der Nachheizzeit wieder auf 0, so dass man das auch gut in der Anzeige nutzen kann. Habe hier nur die WW-relevanten Temperaturen ausgelesen, alle anderen mache ich über Telegraf direkt in Grafana.

Viel Spaß
Timmo


--- Code: ---defmod Solvis ModbusAttr 1 300 192.168.178.55:502 TCP
attr Solvis dev-h-defLen 1
attr Solvis dev-h-defUnpack s>
attr Solvis dev-i-defLen 1
attr Solvis dev-i-defUnpack s>
attr Solvis dev-timing-commDelay 1
attr Solvis dev-timing-sendDelay 1
attr Solvis dev-timing-serverTimeout 5
attr Solvis dev-timing-timeout 5
attr Solvis icon icoTempHeizung
attr Solvis obj-h2054-poll 1
attr Solvis obj-h2054-reading WW_Modus
attr Solvis obj-h2305-poll 1
attr Solvis obj-h2305-reading WW_Sollwert
attr Solvis obj-h2322-poll 1
attr Solvis obj-h2322-reading WW_Nachheizung_Start
attr Solvis obj-h2322-set 1
attr Solvis obj-i33024-expr $val / 10
attr Solvis obj-i33024-poll 1
attr Solvis obj-i33024-reading Temp_S01
attr Solvis obj-i33025-expr $val / 10
attr Solvis obj-i33025-poll 1
attr Solvis obj-i33025-reading Temp_S02
attr Solvis obj-i33027-expr $val / 10
attr Solvis obj-i33027-poll 1
attr Solvis obj-i33027-reading Temp_S04
attr Solvis obj-i33034-expr $val / 10
attr Solvis obj-i33034-poll 1
attr Solvis obj-i33034-reading Temp_S11
attr Solvis obj-i33041-expr $val / 10
attr Solvis obj-i33041-poll 1
attr Solvis obj-i33041-reading Volumen_Strom_S18
attr Solvis obj-i33539-expr $val / 10
attr Solvis obj-i33539-poll 1
attr Solvis obj-i33539-reading SX aktuelle Leistung
attr Solvis room 9.7_Therm

--- Ende Code ---

Navigation

[0] Themen-Index

Zur normalen Ansicht wechseln