Autor Thema: solar inselanlage und kleine spielereien mit echtzeitdaten richtung fhe möglich?  (Gelesen 8942 mal)

Offline laserrichi

  • Full Member
  • ***
  • Beiträge: 176
also die Chinesen lassen sich wohl Zeit.
Mein Modul für die EPEVER Solar Geräte, da werde ich demnächst einen extra Thread dazu aufmachen und es zur verfügung stellen, sind über 400 lines schon :-). Ich bin momentan noch dabei die Hilfe und Doku zu den einzelnen Readings zu basteln und ein paar Eigenheiten auszutesten ;-)

Offline the ratman

  • Hero Member
  • *****
  • Beiträge: 2456
  • cosmoprolet & intelligenzdiabetiker
[mimimi]
die chinesen - für die scheint alles erledigt zu sein, wenn man einmal was halbwegs funzendes verkauft hat. zumindest hab ich noch kein einziges mal von denen ne hilfe oder brauchbare info bekommen, wenn mal nachträglich was gebraucht wurde.
bestes zitat (die hatten wenigstens mal reagiert) zu einer lösung wegen eines - schon beim erhalt - nicht mehr funzenden raspi-touchscreens: "dann müssen sie ihren raspi downgraden, wir wollen kein fw-update machen"
[/mimimi]

mein problem wäre ja auch noch: wo kriegt man die alte fw her, falls was schief geht, oder hast du die irgendwo?
→do↑p!dnʇs↓shit←

Offline airfish

  • New Member
  • *
  • Beiträge: 8
ich nehme mal an da: https://www.epsolarpv.com/downsoft.html
nur was, muß ich jetzt auch mal nachlesen. oder airfish gibt uns den direkten link.


Sorry für die lange Dauer der Antwort, musste ewig suchen wo ich die Quelle her hatte, das es ein offizielles Firmwareupdate gibt mit funktionierendem STA mode
Meine am 17. Mai über Amazon gekaufte Ebox-Wifi hatte diese Firmware aber schon drauf und ich konnte einfach das Teil somit super einfach in mein WLAN einbinden und per MODBUS über TCP die Parameter auslesen. Die Notwendigkeit eines weiteren Raspi zum direkten Auslesen der Parameter (im Gartenhaus wo der Solarregler sitzt) mit dem speziellen Kabel für die PC-Anbindung entfällt somit, und es geht jetzt einfach per WLAN.
In dem Link ist eine fast Schritt für Schritt Anleitung drinnen mit Firmwarelink ganz unten.

http://support.epsolarpv.com/support/solutions/articles/48000975781-how-to-update-my-ebox-wifi-01-web-firmware-to-latest-version-to-enable-the-sta-mode-



Offline laserrichi

  • Full Member
  • ***
  • Beiträge: 176
Also ich hatte von denen per Mailanfrage die Anleitung als PDF und das File bekommen und gleich geflasht. Und es hat funktioniert.


Offline hummeruli

  • Jr. Member
  • **
  • Beiträge: 87
Wenn du den Laderegler sowieso per IP abfragst, warum dann nicht direkt aus FHEM. Ich mache genau das:


defmod Solarlader ModbusAttr 1 60 192.168.0.138:23 RTU
attr Solarlader userattr cmdIcon dev-c-defShowGet dev-c-read dev-c-write dev-h-defShowGet dev-i-defShowGet devStateIcon event-on-change-reading eventMap icon obj-c0-poll obj-c0-reading obj-c0-set obj-c0-showGet obj-c2-poll obj-c2-reading obj-c2-set obj-h0-poll obj-h0-reading obj-h0-set obj-h36864-name obj-h36864-reading obj-h36864-set obj-h36865-name obj-h36865-reading obj-h36865-set obj-h36925-name obj-h36925-reading obj-h36925-set obj-i12296-poll obj-i12296-reading obj-i12544-expr obj-i12544-poll obj-i12544-reading obj-i12544-set obj-i12544-showGet obj-i12545-expr obj-i12545-poll obj-i12545-reading obj-i12545-showGet obj-i12546-expr obj-i12546-poll obj-i12546-reading obj-i12548-expr obj-i12548-poll obj-i12548-reading obj-i12548-showGet obj-i12549-expr obj-i12549-poll obj-i12549-reading obj-i12550-expr obj-i12550-poll obj-i12550-reading obj-i12556-expr obj-i12556-poll obj-i12556-reading obj-i12557-expr obj-i12557-poll obj-i12557-reading obj-i12558-expr obj-i12558-poll obj-i12558-reading obj-i12559-poll obj-i12559-reading obj-i12560-expr obj-i12560-poll obj-i12560-reading obj-i12561-expr obj-i12561-poll obj-i12561-reading obj-i12570-format obj-i12570-poll obj-i12570-reading obj-i12800-poll obj-i12800-reading obj-i12801-poll obj-i12801-reading obj-i13060-expr obj-i13060-poll obj-i13060-reading obj-i13061-poll obj-i13061-reading obj-i13062-expr obj-i13062-poll obj-i13062-reading obj-i13063-poll obj-i13063-reading obj-i13064-expr obj-i13064-poll obj-i13064-reading obj-i13066-expr obj-i13066-poll obj-i13066-reading obj-i13068-expr obj-i13068-poll obj-i13068-reading obj-i13070-expr obj-i13070-poll obj-i13070-reading obj-i13072-expr obj-i13072-poll obj-i13072-reading obj-i13074-expr obj-i13074-poll obj-i13074-reading stateFormat userReadings verbose webCmd
attr Solarlader cmdIcon an:general_an@green aus:general_aus@red
attr Solarlader dev-c-defShowGet 1
attr Solarlader dev-h-defShowGet 1
attr Solarlader dev-i-defShowGet 1
attr Solarlader devStateIcon 0:rc_STOP
attr Solarlader event-on-change-reading .*
attr Solarlader eventMap /ManualControlLoad 0:aus/ManualControlLoad 1:an/
attr Solarlader group Solar
attr Solarlader icon sani_solar
attr Solarlader obj-c0-poll 1
attr Solarlader obj-c0-reading ChargingOnOff
attr Solarlader obj-c0-set 1
attr Solarlader obj-c2-poll 1
attr Solarlader obj-c2-reading ManualControlLoad
attr Solarlader obj-c2-set 1
attr Solarlader obj-h36864-reading BattTyp
attr Solarlader obj-h36864-set 1
attr Solarlader obj-h36865-reading BattCapacityDefault
attr Solarlader obj-h36865-set 1
attr Solarlader obj-h36925-reading LoadControll
attr Solarlader obj-h36925-set 1
attr Solarlader obj-i12296-poll 1
attr Solarlader obj-i12296-reading Chargingmode
attr Solarlader obj-i12544-expr $val/100
attr Solarlader obj-i12544-poll 1
attr Solarlader obj-i12544-reading Panelspannung
attr Solarlader obj-i12545-expr $val/100
attr Solarlader obj-i12545-poll 1
attr Solarlader obj-i12545-reading Panelstrom
attr Solarlader obj-i12546-expr $val/100
attr Solarlader obj-i12546-poll 1
attr Solarlader obj-i12546-reading PanelPowerL
attr Solarlader obj-i12548-expr $val/100
attr Solarlader obj-i12548-poll 1
attr Solarlader obj-i12548-reading Battspannung
attr Solarlader obj-i12549-expr $val/100
attr Solarlader obj-i12549-poll 1
attr Solarlader obj-i12549-reading Battstrom
attr Solarlader obj-i12550-expr $val/100
attr Solarlader obj-i12550-poll 1
attr Solarlader obj-i12550-reading BattPowerL
attr Solarlader obj-i12556-expr $val/100
attr Solarlader obj-i12556-poll 1
attr Solarlader obj-i12556-reading LoadSpannung
attr Solarlader obj-i12557-expr $val/100
attr Solarlader obj-i12557-poll 1
attr Solarlader obj-i12557-reading LoadCurrent
attr Solarlader obj-i12558-expr $val/100
attr Solarlader obj-i12558-poll 1
attr Solarlader obj-i12558-reading LoadPowerL
attr Solarlader obj-i12560-expr $val/100
attr Solarlader obj-i12560-poll 1
attr Solarlader obj-i12560-reading BatteryTemperatur
attr Solarlader obj-i12561-expr $val/100
attr Solarlader obj-i12561-poll 1
attr Solarlader obj-i12561-reading LaderTemperatur
attr Solarlader obj-i12570-poll 1
attr Solarlader obj-i12570-reading BattCapacityRemaining
attr Solarlader obj-i12800-poll 1
attr Solarlader obj-i12800-reading BattStatus
attr Solarlader obj-i12801-poll 1
attr Solarlader obj-i12801-reading LadeStatus
attr Solarlader obj-i13060-expr $val/100
attr Solarlader obj-i13060-poll 1
attr Solarlader obj-i13060-reading EnergieVerbrauchTag
attr Solarlader obj-i13062-expr $val/100
attr Solarlader obj-i13062-poll 1
attr Solarlader obj-i13062-reading EnergieVerbrauchMonat
attr Solarlader obj-i13064-expr $val/100
attr Solarlader obj-i13064-poll 1
attr Solarlader obj-i13064-reading EnergieVerbrauchJahr
attr Solarlader obj-i13066-expr $val/100
attr Solarlader obj-i13066-poll 1
attr Solarlader obj-i13066-reading EnergieVerbrauchGesamt
attr Solarlader obj-i13068-expr $val/100
attr Solarlader obj-i13068-poll 1
attr Solarlader obj-i13068-reading EnergieTag
attr Solarlader obj-i13070-expr $val/100
attr Solarlader obj-i13070-poll 1
attr Solarlader obj-i13070-reading EnergieMonat
attr Solarlader obj-i13072-expr $val/100
attr Solarlader obj-i13072-poll 1
attr Solarlader obj-i13072-reading EnergieJahr
attr Solarlader obj-i13074-expr $val/100
attr Solarlader obj-i13074-poll 1
attr Solarlader obj-i13074-reading EnergieGesamt
attr Solarlader room Home,Solar

Habe gerade den Code versucht um meinen 3210 von Epever per seriellem Modbus an Fhem anzubinden. Leider ohne Erfolg. Es tut sich nichts. Per PC-Win10 geht es ohne Probleme.
Eventuell kann mir jemand von euch einen Anstubser geben.

Hier mein Code, der nur auf eine RS485 aufsetzt.

Internals:
   CFGFN     
   DEF        1 60
   FUUID      5f21e9b9-f33f-0a06-9874-412d30cccfb6812d
   INTERVAL   60
   IODev      RS485
   MODBUSID   1
   MODE       master
   MODULEVERSION Modbus 4.1.5 - 17.9.2019
   NAME       Solarlader
   NOTIFYDEV  global
   NR         13836
   NTFY_ORDER 50-Solarlader
   PROTOCOL   RTU
   STATE      opened
   TRIGGERTIME 1596060443.45483
   TRIGGERTIME_FMT 2020-07-30 00:07:23
   TYPE       ModbusAttr
   lastUpdate 1596060383.45483
   FRAME:
   READ:
   READINGS:
     2020-07-29 23:54:14   state           opened
   REMEMBER:
     lsend      1596060401.47321
   lastRead:
Attributes:
   IODev      RS485
   cmdIcon    an:general_an@green aus:general_aus@red
   dev-c-defShowGet 1
   dev-h-defShowGet 1
   dev-i-defShowGet 1
   devStateIcon 0:rc_STOP
   event-on-change-reading .*
   eventMap   /ManualControlLoad 0:aus/ManualControlLoad 1:an/
   icon       sani_solar
   obj-c0-poll 1
   obj-c0-reading ChargingOnOff
   obj-c0-set 1
   obj-c2-poll 1
   obj-c2-reading ManualControlLoad
   obj-c2-set 1
   obj-h36864-reading BattTyp
   obj-h36864-set 1
   obj-h36865-reading BattCapacityDefault
   obj-h36865-set 1
   obj-h36925-reading LoadControll
   obj-h36925-set 1
   obj-i12296-poll 1
   obj-i12296-reading Chargingmode
   obj-i12544-expr $val/100
   obj-i12544-poll 1
   obj-i12544-reading Panelspannung
   obj-i12545-expr $val/100
   obj-i12545-poll 1
   obj-i12545-reading Panelstrom
   obj-i12546-expr $val/100
   obj-i12546-poll 1
   obj-i12546-reading PanelPowerL
   obj-i12548-expr $val/100
   obj-i12548-poll 1
   obj-i12548-reading Battspannung
   obj-i12549-expr $val/100
   obj-i12549-poll 1
   obj-i12549-reading Battstrom
   obj-i12550-expr $val/100
   obj-i12550-poll 1
   obj-i12550-reading BattPowerL
   obj-i12556-expr $val/100
   obj-i12556-poll 1
   obj-i12556-reading LoadSpannung
   obj-i12557-expr $val/100
   obj-i12557-poll 1
   obj-i12557-reading LoadCurrent
   obj-i12558-expr $val/100
   obj-i12558-poll 1
   obj-i12558-reading LoadPowerL
   obj-i12560-expr $val/100
   obj-i12560-poll 1
   obj-i12560-reading BatteryTemperatur
   obj-i12561-expr $val/100
   obj-i12561-poll 1
   obj-i12561-reading LaderTemperatur
   obj-i12570-poll 1
   obj-i12570-reading BattCapacityRemaining
   obj-i12800-poll 1
   obj-i12800-reading BattStatus
   obj-i12801-poll 1
   obj-i12801-reading LadeStatus
   obj-i13060-expr $val/100
   obj-i13060-poll 1
   obj-i13060-reading EnergieVerbrauchTag
   obj-i13062-expr $val/100
   obj-i13062-poll 1
   obj-i13062-reading EnergieVerbrauchMonat
   obj-i13064-expr $val/100
   obj-i13064-poll 1
   obj-i13064-reading EnergieVerbrauchJahr
   obj-i13066-expr $val/100
   obj-i13066-poll 1
   obj-i13066-reading EnergieVerbrauchGesamt
   obj-i13068-expr $val/100
   obj-i13068-poll 1
   obj-i13068-reading EnergieTag
   obj-i13070-expr $val/100
   obj-i13070-poll 1
   obj-i13070-reading EnergieMonat
   obj-i13072-expr $val/100
   obj-i13072-poll 1
   obj-i13072-reading EnergieJahr
   obj-i13074-expr $val/100
   obj-i13074-poll 1
   obj-i13074-reading EnergieGesamt
   room       Energie->Solar
   userattr   cmdIcon dev-c-defShowGet dev-c-read dev-c-write dev-h-defShowGet dev-i-defShowGet devStateIcon event-on-change-reading eventMap icon obj-c0-poll obj-c0-reading obj-c0-set obj-c0-showGet obj-c2-poll obj-c2-reading obj-c2-set obj-h0-poll obj-h0-reading obj-h0-set obj-h36864-name obj-h36864-reading obj-h36864-set obj-h36865-name obj-h36865-reading obj-h36865-set obj-h36925-name obj-h36925-reading obj-h36925-set obj-i12296-poll obj-i12296-reading obj-i12544-expr obj-i12544-poll obj-i12544-reading obj-i12544-set obj-i12544-showGet obj-i12545-expr obj-i12545-poll obj-i12545-reading obj-i12545-showGet obj-i12546-expr obj-i12546-poll obj-i12546-reading obj-i12548-expr obj-i12548-poll obj-i12548-reading obj-i12548-showGet obj-i12549-expr obj-i12549-poll obj-i12549-reading obj-i12550-expr obj-i12550-poll obj-i12550-reading obj-i12556-expr obj-i12556-poll obj-i12556-reading obj-i12557-expr obj-i12557-poll obj-i12557-reading obj-i12558-expr obj-i12558-poll obj-i12558-reading obj-i12559-poll obj-i12559-reading obj-i12560-expr obj-i12560-poll obj-i12560-reading obj-i12561-expr obj-i12561-poll obj-i12561-reading obj-i12570-format obj-i12570-poll obj-i12570-reading obj-i12800-poll obj-i12800-reading obj-i12801-poll obj-i12801-reading obj-i13060-expr obj-i13060-poll obj-i13060-reading obj-i13061-poll obj-i13061-reading obj-i13062-expr obj-i13062-poll obj-i13062-reading obj-i13063-poll obj-i13063-reading obj-i13064-expr obj-i13064-poll obj-i13064-reading obj-i13066-expr obj-i13066-poll obj-i13066-reading obj-i13068-expr obj-i13068-poll obj-i13068-reading obj-i13070-expr obj-i13070-poll obj-i13070-reading obj-i13072-expr obj-i13072-poll obj-i13072-reading obj-i13074-expr obj-i13074-poll obj-i13074-reading stateFormat userReadings verbose webCmd

Danke

Gruß

Uli
FHEM auf Odroid XU4 mit CUL, RFXTRX433, MySensorsGW, LaCrosseGateway, AVR-NET-IO, Homematic, Alexa, S300TH, FS20, Intertechno, EMT7110..........

Offline laserrichi

  • Full Member
  • ***
  • Beiträge: 176
du gibst bei define nur 1 60 an   also modbus ID 1  und alle 60 Sekunden....
Es fehlt hier ja die Angabe des Interfaces oder der IP
z.b.
define ModbusLine Modbus /dev/ttyUSB1@9600
define Solarlader ModbusAttr 1 60

Ich hab übrigens das ganze auch als Modul fertig hier verlinkt
https://forum.fhem.de/index.php/topic,111967

Offline hummeruli

  • Jr. Member
  • **
  • Beiträge: 87
du gibst bei define nur 1 60 an   also modbus ID 1  und alle 60 Sekunden....
Es fehlt hier ja die Angabe des Interfaces oder der IP
z.b.
define ModbusLine Modbus /dev/ttyUSB1@9600
define Solarlader ModbusAttr 1 60

Ich hab übrigens das ganze auch als Modul fertig hier verlinkt
https://forum.fhem.de/index.php/topic,111967

Doch das IODev RS485 (bei mir so definiert) ist angegeben.
FHEM auf Odroid XU4 mit CUL, RFXTRX433, MySensorsGW, LaCrosseGateway, AVR-NET-IO, Homematic, Alexa, S300TH, FS20, Intertechno, EMT7110..........

Offline laserrichi

  • Full Member
  • ***
  • Beiträge: 176
wie sieht dein list für RS485 aus ?

Interface im Linux sichbar ?
baudrate  stimmt  überein mit dem Regler ?  115200  8,1,N

Offline hummeruli

  • Jr. Member
  • **
  • Beiträge: 87
wie sieht dein list für RS485 aus ?

Interface im Linux sichbar ?
baudrate  stimmt  überein mit dem Regler ?  115200  8,1,N
Ja Baudrate identisch zur Windows Software, in der er gefunden wird.

Sorry hier das Listing:
Internals:
   CFGFN     
   DEF        /dev/serial/by-id/usb-Exar_Corp._XR21B1411_N2550127551-if00@115200,8,N,1
   DeviceName /dev/serial/by-id/usb-Exar_Corp._XR21B1411_N2550127551-if00@115200,8,N,1
   EXPECT     idle
   FD         57
   FUUID      5f21e9b9-f33f-0a06-90c0-dc5c1fdfe1558408
   IODev      RS485
   LASTOPEN   1596059457.21448
   MODE       master
   NAME       RS485
   NR         13835
   NTFY_ORDER 50-RS485
   PARTIAL   
   PROTOCOL   RTU
   STATE      opened
   SerialConn 1
   TYPE       Modbus
   devioLoglevel 3
   nextOpenDelay 60
   QUEUE:
   READ:
     BUFFER     
   READINGS:
     2020-07-29 23:50:57   state           opened
   REMEMBER:
     lid        1
     lname      RS485
     lrecv      1596060716.86277
     lsend      1596121371.08627
   defptr:
     Solarlader 1
Attributes:
   room       Energie->Solar
FHEM auf Odroid XU4 mit CUL, RFXTRX433, MySensorsGW, LaCrosseGateway, AVR-NET-IO, Homematic, Alexa, S300TH, FS20, Intertechno, EMT7110..........

Offline laserrichi

  • Full Member
  • ***
  • Beiträge: 176
sieht eigentlich dann ok aus, was kommt denn im Log ?
Also bei dem modbusattr als auch RS485, eines von beiden muss ja dann fehler bringen. Evtl. Loglevel erhöhen.

Offline hummeruli

  • Jr. Member
  • **
  • Beiträge: 87
sieht eigentlich dann ok aus, was kommt denn im Log ?
Also bei dem modbusattr als auch RS485, eines von beiden muss ja dann fehler bringen. Evtl. Loglevel erhöhen.

Das ist alles was ich bis jetzt habe. Werde heute Abend ein gesondertes Logfile erstellen und den Level erhöhen.

2020.07.30 19:48:46 3: RS485: Timeout waiting for a modbus response request: id 1, fCode 1, type c, adr 0, len 1 for device Solarlader reading ChargingOnOff (getUpdate), queued 12.00 secs ago, sent 2.00 secs ago, read buffer empty
2020.07.30 23:09:28 3: RS485: Timeout waiting for a modbus response request: id 1, fCode 4, type i, adr 12556, len 1 for device Solarlader reading LoadSpannung (getUpdate), queued 21.57 secs ago, sent 2.00 secs ago, read buffer empty
2020.07.30 23:09:30 3: RS485: Timeout waiting for a modbus response request: id 1, fCode 3, type h, adr 775, len 1 for device Solarlader (scan), queued 21.01 secs ago, sent 2.00 secs ago, read buffer empty
2020.07.30 23:09:32 3: RS485: Timeout waiting for a modbus response request: id 1, fCode 3, type h, adr 777, len 1 for device Solarlader (scan), queued 21.01 secs ago, sent 2.00 secs ago, read buffer empty
2020.07.30 23:09:34 3: RS485: Timeout waiting for a modbus response request: id 1, fCode 3, type h, adr 779, len 1 for device Solarlader (scan), queued 21.01 secs ago, sent 2.00 secs ago, read buffer empty
2020.07.30 23:09:36 3: RS485: Timeout waiting for a modbus response request: id 1, fCode 3, type h, adr 781, len 1 for device Solarlader (scan), queued 21.01 secs ago, sent 2.00 secs ago, read buffer empty
2020.07.30 23:09:38 3: Solarlader: set scan range specified as Modbus Id 1 to 255 with h100, Len
2020.07.30 23:09:38 3: RS485: Timeout waiting for a modbus response request: id 1, fCode 3, type h, adr 783, len 1 for device Solarlader (scan), queued 21.02 secs ago, sent 2.01 secs ago, read buffer empty

Wenn ich den Loglevel erhöhe kommt das:
2020.07.30 23:27:17 5: Solarlader: UpdateSetList: setList=interval reread:noArg reconnect:noArg stop:noArg start:noArg close:noArg saveAsModule scanModbusId scanStop:noArg scanModbusObjects ChargingOnOff ManualControlLoad BattTyp BattCapacityDefault LoadControll
2020.07.30 23:27:17 5: Solarlader: UpdateSetList: getList=ChargingOnOff:noArg ManualControlLoad:noArg BattTyp:noArg BattCapacityDefault:noArg LoadControll:noArg Chargingmode:noArg Panelspannung:noArg Panelstrom:noArg PanelPowerL:noArg Battspannung:noArg Battstrom:noArg BattPowerL:noArg LoadSpannung:noArg LoadCurrent:noArg LoadPowerL:noArg BatteryTemperatur:noArg LaderTemperatur:noArg BattCapacityRemaining:noArg BattStatus:noArg LadeStatus:noArg EnergieVerbrauchTag:noArg EnergieVerbrauchMonat:noArg EnergieVerbrauchJahr:noArg EnergieVerbrauchGesamt:noArg EnergieTag:noArg EnergieMonat:noArg EnergieJahr:noArg EnergieGesamt:noArg
2020.07.30 23:27:17 3: RS485: Timeout waiting for a modbus response request: id 1, fCode 4, type i, adr 13064, len 1 for device Solarlader reading EnergieVerbrauchJahr (getUpdate), queued 10.01 secs ago, sent 2.00 secs ago, read buffer empty
2020.07.30 23:28:07 5: Solarlader: GetUpdate called from HandleTimeout
2020.07.30 23:28:07 5: Solarlader: SetartUpdateTimer called from GetUpdate updated timer, will call GetUpdate in 60.0 sec at 2020-07-30 23:29:07, interval 60
2020.07.30 23:28:07 5: Solarlader: GetUpdate objects from attributes: h36925 i13068 i12548 i13074 i12560 i12556 c0 i12545 h36864 i12549 i13060 i13072 i12800 i12558 h36865 i12561 i13066 i12546 i12557 i13070 c2 i13062 i12296 i12570 i12801 i12544 i13064 i12550
2020.07.30 23:28:07 5: Solarlader: GetUpdate full object list: c0 c2 h36864 h36865 h36925 i12296 i12544 i12545 i12546 i12548 i12549 i12550 i12556 i12557 i12558 i12560 i12561 i12570 i12800 i12801 i13060 i13062 i13064 i13066 i13068 i13070 i13072 i13074
2020.07.30 23:28:07 5: Solarlader: GetUpdate check c0 => ChargingOnOff, poll = 1, last = 0
2020.07.30 23:28:07 4: Solarlader: GetUpdate will request ChargingOnOff
2020.07.30 23:28:07 5: Solarlader: GetUpdate check c2 => ManualControlLoad, poll = 1, last = 0
2020.07.30 23:28:07 4: Solarlader: GetUpdate will request ManualControlLoad
2020.07.30 23:28:07 5: Solarlader: GetUpdate check h36864 => BattTyp, poll = 0, last = 0
2020.07.30 23:28:07 5: Solarlader: GetUpdate check h36865 => BattCapacityDefault, poll = 0, last = 0
2020.07.30 23:28:07 5: Solarlader: GetUpdate check h36925 => LoadControll, poll = 0, last = 0
2020.07.30 23:28:07 5: Solarlader: GetUpdate check i12296 => Chargingmode, poll = 1, last = 0
2020.07.30 23:28:07 4: Solarlader: GetUpdate will request Chargingmode
2020.07.30 23:28:07 5: Solarlader: GetUpdate check i12544 => Panelspannung, poll = 1, last = 0
2020.07.30 23:28:07 4: Solarlader: GetUpdate will request Panelspannung
2020.07.30 23:28:07 5: Solarlader: GetUpdate check i12545 => Panelstrom, poll = 1, last = 0
2020.07.30 23:28:07 4: Solarlader: GetUpdate will request Panelstrom
2020.07.30 23:28:07 5: Solarlader: GetUpdate check i12546 => PanelPowerL, poll = 1, last = 0
2020.07.30 23:28:07 4: Solarlader: GetUpdate will request PanelPowerL
2020.07.30 23:28:07 5: Solarlader: GetUpdate check i12548 => Battspannung, poll = 1, last = 0
2020.07.30 23:28:07 4: Solarlader: GetUpdate will request Battspannung
2020.07.30 23:28:07 5: Solarlader: GetUpdate check i12549 => Battstrom, poll = 1, last = 0
2020.07.30 23:28:07 4: Solarlader: GetUpdate will request Battstrom
2020.07.30 23:28:07 5: Solarlader: GetUpdate check i12550 => BattPowerL, poll = 1, last = 0
2020.07.30 23:28:07 4: Solarlader: GetUpdate will request BattPowerL
2020.07.30 23:28:07 5: Solarlader: GetUpdate check i12556 => LoadSpannung, poll = 1, last = 0
2020.07.30 23:28:07 4: Solarlader: GetUpdate will request LoadSpannung
2020.07.30 23:28:07 5: Solarlader: GetUpdate check i12557 => LoadCurrent, poll = 1, last = 0
2020.07.30 23:28:07 4: Solarlader: GetUpdate will request LoadCurrent
2020.07.30 23:28:07 5: Solarlader: GetUpdate check i12558 => LoadPowerL, poll = 1, last = 0
2020.07.30 23:28:07 4: Solarlader: GetUpdate will request LoadPowerL
2020.07.30 23:28:07 5: Solarlader: GetUpdate check i12560 => BatteryTemperatur, poll = 1, last = 0
2020.07.30 23:28:07 4: Solarlader: GetUpdate will request BatteryTemperatur
2020.07.30 23:28:07 5: Solarlader: GetUpdate check i12561 => LaderTemperatur, poll = 1, last = 0
2020.07.30 23:28:07 4: Solarlader: GetUpdate will request LaderTemperatur
2020.07.30 23:28:07 5: Solarlader: GetUpdate check i12570 => BattCapacityRemaining, poll = 1, last = 0
2020.07.30 23:28:07 4: Solarlader: GetUpdate will request BattCapacityRemaining
2020.07.30 23:28:07 5: Solarlader: GetUpdate check i12800 => BattStatus, poll = 1, last = 0
2020.07.30 23:28:07 4: Solarlader: GetUpdate will request BattStatus
2020.07.30 23:28:07 5: Solarlader: GetUpdate check i12801 => LadeStatus, poll = 1, last = 0
2020.07.30 23:28:07 4: Solarlader: GetUpdate will request LadeStatus
2020.07.30 23:28:07 5: Solarlader: GetUpdate check i13060 => EnergieVerbrauchTag, poll = 1, last = 0
2020.07.30 23:28:07 4: Solarlader: GetUpdate will request EnergieVerbrauchTag
2020.07.30 23:28:07 5: Solarlader: GetUpdate check i13062 => EnergieVerbrauchMonat, poll = 1, last = 0
2020.07.30 23:28:07 4: Solarlader: GetUpdate will request EnergieVerbrauchMonat
2020.07.30 23:28:07 5: Solarlader: GetUpdate check i13064 => EnergieVerbrauchJahr, poll = 1, last = 0
2020.07.30 23:28:07 4: Solarlader: GetUpdate will request EnergieVerbrauchJahr
2020.07.30 23:28:07 5: Solarlader: GetUpdate check i13066 => EnergieVerbrauchGesamt, poll = 1, last = 0
2020.07.30 23:28:07 4: Solarlader: GetUpdate will request EnergieVerbrauchGesamt
2020.07.30 23:28:07 5: Solarlader: GetUpdate check i13068 => EnergieTag, poll = 1, last = 0
2020.07.30 23:28:07 4: Solarlader: GetUpdate will request EnergieTag
2020.07.30 23:28:07 5: Solarlader: GetUpdate check i13070 => EnergieMonat, poll = 1, last = 0
2020.07.30 23:28:07 4: Solarlader: GetUpdate will request EnergieMonat
2020.07.30 23:28:07 5: Solarlader: GetUpdate check i13072 => EnergieJahr, poll = 1, last = 0
2020.07.30 23:28:07 4: Solarlader: GetUpdate will request EnergieJahr
2020.07.30 23:28:07 5: Solarlader: GetUpdate check i13074 => EnergieGesamt, poll = 1, last = 0
2020.07.30 23:28:07 4: Solarlader: GetUpdate will request EnergieGesamt
2020.07.30 23:28:07 5: Solarlader: GetUpdate tries to combine read commands
2020.07.30 23:28:07 5: Solarlader: GetUpdate cant combine request for ChargingOnOff / c0 with ManualControlLoad / c2, span 3 > max 1
2020.07.30 23:28:07 5: Solarlader: GetUpdate cant combine request for ManualControlLoad / c2 with Chargingmode / i12296, span 12295 > max 1
2020.07.30 23:28:07 5: Solarlader: GetUpdate cant combine request for Chargingmode / i12296 with Panelspannung / i12544, span 249 > max 1
2020.07.30 23:28:07 5: Solarlader: GetUpdate cant combine request for Panelspannung / i12544 with Panelstrom / i12545, span 2 > max 1
2020.07.30 23:28:07 5: Solarlader: GetUpdate cant combine request for Panelstrom / i12545 with PanelPowerL / i12546, span 2 > max 1
2020.07.30 23:28:07 5: Solarlader: GetUpdate cant combine request for PanelPowerL / i12546 with Battspannung / i12548, span 3 > max 1
2020.07.30 23:28:07 5: Solarlader: GetUpdate cant combine request for Battspannung / i12548 with Battstrom / i12549, span 2 > max 1
2020.07.30 23:28:07 5: Solarlader: GetUpdate cant combine request for Battstrom / i12549 with BattPowerL / i12550, span 2 > max 1
2020.07.30 23:28:07 5: Solarlader: GetUpdate cant combine request for BattPowerL / i12550 with LoadSpannung / i12556, span 7 > max 1
2020.07.30 23:28:07 5: Solarlader: GetUpdate cant combine request for LoadSpannung / i12556 with LoadCurrent / i12557, span 2 > max 1
2020.07.30 23:28:07 5: Solarlader: GetUpdate cant combine request for LoadCurrent / i12557 with LoadPowerL / i12558, span 2 > max 1
2020.07.30 23:28:07 5: Solarlader: GetUpdate cant combine request for LoadPowerL / i12558 with BatteryTemperatur / i12560, span 3 > max 1
2020.07.30 23:28:07 5: Solarlader: GetUpdate cant combine request for BatteryTemperatur / i12560 with LaderTemperatur / i12561, span 2 > max 1
2020.07.30 23:28:07 5: Solarlader: GetUpdate cant combine request for LaderTemperatur / i12561 with BattCapacityRemaining / i12570, span 10 > max 1
2020.07.30 23:28:07 5: Solarlader: GetUpdate cant combine request for BattCapacityRemaining / i12570 with BattStatus / i12800, span 231 > max 1
2020.07.30 23:28:07 5: Solarlader: GetUpdate cant combine request for BattStatus / i12800 with LadeStatus / i12801, span 2 > max 1
2020.07.30 23:28:07 5: Solarlader: GetUpdate cant combine request for LadeStatus / i12801 with EnergieVerbrauchTag / i13060, span 260 > max 1
2020.07.30 23:28:07 5: Solarlader: GetUpdate cant combine request for EnergieVerbrauchTag / i13060 with EnergieVerbrauchMonat / i13062, span 3 > max 1
2020.07.30 23:28:07 5: Solarlader: GetUpdate cant combine request for EnergieVerbrauchMonat / i13062 with EnergieVerbrauchJahr / i13064, span 3 > max 1
2020.07.30 23:28:07 5: Solarlader: GetUpdate cant combine request for EnergieVerbrauchJahr / i13064 with EnergieVerbrauchGesamt / i13066, span 3 > max 1
2020.07.30 23:28:07 5: Solarlader: GetUpdate cant combine request for EnergieVerbrauchGesamt / i13066 with EnergieTag / i13068, span 3 > max 1
2020.07.30 23:28:07 5: Solarlader: GetUpdate cant combine request for EnergieTag / i13068 with EnergieMonat / i13070, span 3 > max 1
2020.07.30 23:28:07 5: Solarlader: GetUpdate cant combine request for EnergieMonat / i13070 with EnergieJahr / i13072, span 3 > max 1
2020.07.30 23:28:07 5: Solarlader: GetUpdate cant combine request for EnergieJahr / i13072 with EnergieGesamt / i13074, span 3 > max 1
2020.07.30 23:28:07 5: Solarlader: GetUpdate doesn't sort objList before sending requests
2020.07.30 23:28:07 4: Solarlader: DoRequest called from GetUpdate created request: id 1, fCode 4, type i, adr 12557, len 1 for device Solarlader reading LoadCurrent (getUpdate), read buffer empty
2020.07.30 23:28:07 5: RS485: QueueRequest called from DoRequest (Solarlader) with i12557, qlen 0
2020.07.30 23:28:07 4: RS485: ProcessRequestQueue called from QueueRequest, qlen 1, next entry to id 1 (Solarlader), last send to this device was 41.989 secs ago, last read never, last read on bus never from id 1 (RS485)
2020.07.30 23:28:07 5: RS485: CheckDelay called from ProcessRequestQueue sendDelay (0.1s since 23:27:25.347) for Solarlader, delay 41.889secs over
2020.07.30 23:28:07 4: RS485: ProcessRequestQueue (V4.1.5 - 17.9.2019) qlen 1, sending 0104310d0001aef5 request: id 1, fCode 4, type i, adr 12557, len 1 for device Solarlader reading LoadCurrent (getUpdate), queued 0.00 secs ago, read buffer empty
2020.07.30 23:28:07 5: SW: 0104310d0001aef5
2020.07.30 23:28:07 5: RS485: StartQueueTimer called from ProcessRequestQueue removes internal timer because it is not needed now
2020.07.30 23:28:07 4: Solarlader: DoRequest called from GetUpdate created request: id 1, fCode 4, type i, adr 12296, len 1 for device Solarlader reading Chargingmode (getUpdate), read buffer empty
2020.07.30 23:28:07 5: RS485: QueueRequest called from DoRequest (Solarlader) with i12296, qlen 0
2020.07.30 23:28:07 5: RS485: StartQueueTimer called form QueueRequest sets internal timer to call Modbus_ProcessRequestQueue in 1.000 seconds
2020.07.30 23:28:07 4: Solarlader: DoRequest called from GetUpdate created request: id 1, fCode 4, type i, adr 12570, len 1 for device Solarlader reading BattCapacityRemaining (getUpdate), read buffer empty
« Letzte Änderung: 30 Juli 2020, 23:29:29 von hummeruli »
FHEM auf Odroid XU4 mit CUL, RFXTRX433, MySensorsGW, LaCrosseGateway, AVR-NET-IO, Homematic, Alexa, S300TH, FS20, Intertechno, EMT7110..........

Offline hummeruli

  • Jr. Member
  • **
  • Beiträge: 87
Habe den Fehler gefunden.

Der USB-RS485-Adapter wird als USB-Seriell-Modul ttyACM0 unter Linux eingerichtet. Das ist falsch.

Es muss nur wie dort beschrieben vorgegangen werden:
https://github.com/kasbert/epsolar-tracer/tree/master/xr_usb_serial_common-1a
Nach der Installation des Treibers ging alles ohne Probleme.

Danke auch an Laserrichi für die Hilfe.

Gruß

Uli
FHEM auf Odroid XU4 mit CUL, RFXTRX433, MySensorsGW, LaCrosseGateway, AVR-NET-IO, Homematic, Alexa, S300TH, FS20, Intertechno, EMT7110..........