Controlling Max! radiator thermostats with arduino or ESP

Begonnen von kennybl, 26 September 2020, 16:04:22

Vorheriges Thema - Nächstes Thema

kennybl

#15
I rechecked the MAX Cube software and all devices are connected to groups, i reset the FHEM and connected the MAX_LAN again and still the same "group" error.
Do you think it helps if i reset the MAX Cube and create groups again and reset all thermostats?

I also noticed that i can change for example one thermostat, but changing another one doesn't do anything

Also, if i put this in the top input field { MAX_Save('all') }, i get this error: Undefined subroutine &main::MAX_Save called at (eval 30) line 1..
Did i do something wrong or is this the fail you mention?

Wzut

Maybe your Cube is now a litte bit confused because on your first attempts you did a factory reset on some devices and you paired them with the other MAXID 123456
Shure you cann reset and remove all devices from the Cube and start from early beginning. 
If you want to do so much work for yourself then you can start with CUL/CUL_MAX right away.
You definitely need a clean system i guess that's just not the case now.

ZitatI also noticed that i can change for example one thermostat, but changing another one doesn't do anything
let me guess : working is that one without the factory reset ?
This is your mess with the two different IDs

The Backup all command depents on the used 10_MAX version, no problem you can use the single backup (saveConfig) command on each device step by step. But none of this makes any sense unless you have a clean system.
Maintainer der Module: MAX, MPD, UbiquitiMP, UbiquitiOut, SIP, BEOK, readingsWatcher

kennybl

I did a MAX Cube factory reset and all Thermostat reset as well, i did all again and i get the same error:


2020.10.12 16:52:13 3: Opening ml device 192.168.1.16:62910
2020.10.12 16:52:13 3: ml device opened
2020.10.12 16:52:13 2: MAXLAN_Parse: Cube thinks it is 12.10.2020 17:52
2020.10.12 16:52:13 2: MAXLAN_Parse: Time difference is 60 minutes
2020.10.12 16:52:14 2: autocreate: define MAX_1be7d4 MAX HeatingThermostat 1be7d4
2020.10.12 16:52:14 2: autocreate: define FileLog_MAX_1be7d4 FileLog ./log/MAX_1be7d4-%Y.log MAX_1be7d4
2020.10.12 16:52:14 3: MAX Cube is set to timezone CET-CEST
2020.10.12 16:53:17 2: MAX: Invalid value  for READING groupid on MAX_1be7d4. Forcing to 0


I am not sure what i do wrong here. Can't i make the rooms myself and connect the thermostats to this or is it impossible to do?

Wzut

#18
OK, I need more informations from your cube.
Set attribute verbose 5 on your ml device.
Delete all normal MAX devices except ml , save  & stop FHEM.
Change the 00_MAXLAN.pm and the 10_MAX.pm module with my attached new beta versions.
After the next reconnect of the Cube it will send a list of its devices and autocreate will do the rest.
If you cann see all your MAX devices in room MAX set verbose on ml back to 3
I need the hole log from start to now.
Maintainer der Module: MAX, MPD, UbiquitiMP, UbiquitiOut, SIP, BEOK, readingsWatcher

kennybl

I did everything you said but still no rooms. Please tell me if I did something wrong
Here is the log file:
2020.10.12 18:29:09 5: MAXLAN_SimpleWrite:  l:
2020.10.12 18:29:09 5: Msg L:Cxvn1IgSGQ8pANsA
2020.10.12 18:29:09 5: len 11, addr 1be7d4, initialized 1, valid 1, error 0, errCmd 88, answer 0, unkbit (0,0,0)
2020.10.12 18:29:09 5: ml: dispatch MAX,1,ThermostatState,1be7d4,190f2900db00
2020.10.12 18:29:09 5: MAX_Parse MAX,1,ThermostatState,1be7d4,190f2900db00
2020.10.12 18:29:09 5: battery 0, rferror 0, panel 0, langateway 1, dstsetting 1, mode 1, valveposition 15 %, desiredTemperature 20.5, until , curTemp 21.9
2020.10.12 18:29:39 5: MAXLAN_SimpleWrite:  l:
2020.10.12 18:29:40 5: Msg L:Cxvn1IgSGQ8pANsA
2020.10.12 18:29:40 5: len 11, addr 1be7d4, initialized 1, valid 1, error 0, errCmd 88, answer 0, unkbit (0,0,0)
2020.10.12 18:29:40 2: Got List response for undefined device with addr 1be7d4
2020.10.12 18:30:10 5: MAXLAN_SimpleWrite:  l:
2020.10.12 18:30:10 5: Msg L:Cxvn1IgSGQ8pANsA
2020.10.12 18:30:10 5: len 11, addr 1be7d4, initialized 1, valid 1, error 0, errCmd 88, answer 0, unkbit (0,0,0)
2020.10.12 18:30:10 2: Got List response for undefined device with addr 1be7d4
2020.10.12 18:30:24 0: Server shutdown
2020.10.12 18:36:20 1: Including fhem.cfg
2020.10.12 18:36:20 3: WEB: port 8083 opened
2020.10.12 18:36:20 2: eventTypes: loaded 4 events from ./log/eventTypes.txt
2020.10.12 18:36:21 1: Including ./log/fhem.save
2020.10.12 18:36:21 1: usb create starting
2020.10.12 18:36:21 3: Probing ZWDongle device /dev/serial1
2020.10.12 18:36:21 3: Probing CUL device /dev/ttyAMA0
2020.10.12 18:36:22 3: Probing TCM_ESP3 device /dev/ttyAMA0
2020.10.12 18:36:22 3: Probing ZWDongle device /dev/ttyAMA0
2020.10.12 18:36:22 3: Probing SIGNALDuino device /dev/ttyAMA0
2020.10.12 18:36:22 3: Probing MYSENSORS device /dev/ttyAMA0
2020.10.12 18:36:22 3: Probing ArduCounter device /dev/ttyAMA0
2020.10.12 18:36:22 3: Probing ElsnerWS device /dev/ttyAMA0
2020.10.12 18:36:23 3: Probing FRM device /dev/ttyAMA0
2020.10.12 18:36:28 3: Probing TCM_ESP3 device /dev/ttyUSB0
2020.10.12 18:36:30 3: Probing TCM_ESP2 device /dev/ttyUSB0
2020.10.12 18:36:30 3: Probing FHZ device /dev/ttyUSB0
2020.10.12 18:36:30 3: Probing TRX device /dev/ttyUSB0
2020.10.12 18:36:30 3: Probing ZWDongle device /dev/ttyUSB0
2020.10.12 18:36:31 3: Probing SIGNALDuino device /dev/ttyUSB0
2020.10.12 18:36:31 3: Probing MYSENSORS device /dev/ttyUSB0
2020.10.12 18:36:31 3: Probing ArduCounter device /dev/ttyUSB0
2020.10.12 18:36:31 3: Probing ElsnerWS device /dev/ttyUSB0
2020.10.12 18:36:32 3: Probing FRM device /dev/ttyUSB0
2020.10.12 18:36:37 1: usb create end
2020.10.12 18:36:37 5: ml, Notify global , INITIALIZED
2020.10.12 18:36:37 3: Opening ml device 192.168.1.16:62910
2020.10.12 18:36:40 1: ml: Can't connect to 192.168.1.16:62910: Connection timed out
2020.10.12 18:36:40 2: ml, Could not connect
2020.10.12 18:36:40 5: ml, disconnect
2020.10.12 18:36:40 0: Featurelevel: 6
2020.10.12 18:36:40 0: Server started with 7 defined entities (fhem.pl:21056/2020-01-26 perl:5.028001 os:linux user:fhem pid:1052)
2020.10.12 18:37:10 3: Opening ml device 192.168.1.16:62910
2020.10.12 18:37:10 3: ml device opened
2020.10.12 18:37:11 5: ml, Parse: MSG H:NEQ1206430,172943,0113,00000000,25253f1a,00,32,140a0c,1325,03,0000
2020.10.12 18:37:11 2: ml, Cube thinks it is 12.10.2020 19:37
2020.10.12 18:37:11 2: ml, Time difference is 60 minutes
2020.10.12 18:37:11 5: ml, _parse_cmd_H: ip 25253f1a, duty cycle 0, freememory 32, clockset 3
2020.10.12 18:37:11 5: ml, Parse: MSG M:00,01,VgIBARBTbGFhcGthbWVyIEtlbnpvG+fUAQEb59RQRVExMDEzODY5DXRoZXJtb3N0YWF0XzEBAQ==
2020.10.12 18:37:11 5: ml, Parse: MSG C:172943,7RcpQwATAQBORVExMjA2NDMwAAsABEAAAAAAAAAAAP///////////////////////////wsABEAAAAAAAAAAQf///////////////////////////2h0dHA6Ly9tYXgtcG9ydGFsLmVxLTMuZGU6ODAvbG9va3VwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAENFVAAACgADAAAOEENFU1QAAwACAAAcIA==
2020.10.12 18:37:11 5: ml, _parse_cmd_C: len 237, addr 172943, devicetype 0, firmware 1, testresult 0, groupid 19, serial NEQ1206430
2020.10.12 18:37:11 5: ml, Parse: MSG C:1be7d4,0hvn1AEBEaFQRVExMDEzODY5KyE9CQcYAzAM/wBESFUIRSBFIEUgRSBFIEUgRSBFIEUgRSBFIERIVQhFIEUgRSBFIEUgRSBFIEUgRSBFIEUgREhUbETMVRRFIEUgRSBFIEUgRSBFIEUgRSBESFRsRMxVFEUgRSBFIEUgRSBFIEUgRSBFIERIVGxEzFUURSBFIEUgRSBFIEUgRSBFIEUgREhUbETMVRRFIEUgRSBFIEUgRSBFIEUgRSBESFRsRMxVFEUgRSBFIEUgRSBFIEUgRSBFIA==
2020.10.12 18:37:11 5: ml, _parse_cmd_C: len 210, addr 1be7d4, devicetype 1, firmware 17, testresult 161, groupid 1, serial PEQ1013869
2020.10.12 18:37:11 5: ml: dispatch MAX,1,define,1be7d4,HeatingThermostat,PEQ1013869,1
2020.10.12 18:37:11 5: MAX_Parse, MAX,1,define,1be7d4,HeatingThermostat,PEQ1013869,1
2020.10.12 18:37:11 3: MAX_PARSE, got message define for undefined device 1be7d4 type HeatingThermostat , autocreate is enabled
2020.10.12 18:37:11 2: autocreate: define MAX_1be7d4 MAX HeatingThermostat 1be7d4
2020.10.12 18:37:11 3: MAX_1be7d4, invalid or missing value  for READING groupid , forcing to 0
2020.10.12 18:37:11 3: MAX_1be7d4, invalid or missing value  for READING .weekProfile , forcing to 444855084520452045204520452045204520452045204520452044485508452045204520452045204520452045204520452045204448546c44cc55144520452045204520452045204520452045204448546c44cc55144520452045204520452045204520452045204448546c44cc55144520452045204520452045204520452045204448546c44cc55144520452045204520452045204520452045204448546c44cc5514452045204520452045204520452045204520
2020.10.12 18:37:11 2: autocreate: define FileLog_MAX_1be7d4 FileLog ./log/MAX_1be7d4-%Y.log MAX_1be7d4
2020.10.12 18:37:11 5: ml, Notify global , UNDEFINED MAX_1be7d4 MAX HeatingThermostat 1be7d4|ATTR MAX_1be7d4 model HeatingThermostat|DEFINED MAX_1be7d4|DEFINED FileLog_MAX_1be7d4|SAVE
2020.10.12 18:37:11 5: ml, comfortemp 21.5, ecotemp 16.5, boostValve 80, boostDuration 1, tempoffset 0, minsetpointtemp off, maxsetpointtemp on, windowopentemp 12.0, windowopendur 15
2020.10.12 18:37:11 5: ml: dispatch MAX,1,HeatingThermostatConfig,1be7d4,16.5,21.5,on,off,444855084520452045204520452045204520452045204520452044485508452045204520452045204520452045204520452045204448546c44cc55144520452045204520452045204520452045204448546c44cc55144520452045204520452045204520452045204448546c44cc55144520452045204520452045204520452045204448546c44cc55144520452045204520452045204520452045204448546c44cc5514452045204520452045204520452045204520,80,1,0,12.0,15,100,0,0,12
2020.10.12 18:37:11 5: MAX_Parse, MAX,1,HeatingThermostatConfig,1be7d4,16.5,21.5,on,off,444855084520452045204520452045204520452045204520452044485508452045204520452045204520452045204520452045204448546c44cc55144520452045204520452045204520452045204448546c44cc55144520452045204520452045204520452045204448546c44cc55144520452045204520452045204520452045204448546c44cc55144520452045204520452045204520452045204448546c44cc5514452045204520452045204520452045204520,80,1,0,12.0,15,100,0,0,12
2020.10.12 18:37:11 5: ml: dispatch MAX,1,Error,1be7d4
2020.10.12 18:37:11 5: MAX_Parse, MAX,1,Error,1be7d4
2020.10.12 18:37:11 5: ml, Parse: MSG L:Cxvn1AkAAAAAAAAA
2020.10.12 18:37:11 5: ml len 11, addr 1be7d4, initialized 0, valid 0, error 0, errCmd 09, answer 0, unkbit (0,0,0)
2020.10.12 18:37:41 5: ml, SimpleWrite: l:
2020.10.12 18:37:41 5: ml, Parse: MSG L:Cxvn1AkAAAAAAAAA
2020.10.12 18:37:41 5: ml len 11, addr 1be7d4, initialized 0, valid 0, error 0, errCmd 09, answer 0, unkbit (0,0,0)
2020.10.12 18:38:11 5: ml, SimpleWrite: l:
2020.10.12 18:38:11 5: ml, Parse: MSG L:Cxvn1AkAAAAAAAAA
2020.10.12 18:38:11 5: ml len 11, addr 1be7d4, initialized 0, valid 0, error 0, errCmd 09, answer 0, unkbit (0,0,0)
2020.10.12 18:38:41 5: ml, SimpleWrite: l:
2020.10.12 18:38:41 5: ml, Parse: MSG L:Cxvn1AkAAAAAAAAA
2020.10.12 18:38:41 5: ml len 11, addr 1be7d4, initialized 0, valid 0, error 0, errCmd 09, answer 0, unkbit (0,0,0)
2020.10.12 18:39:11 5: ml, SimpleWrite: l:
2020.10.12 18:39:12 5: ml, Parse: MSG L:Cxvn1AkAAAAAAAAA
2020.10.12 18:39:12 5: ml len 11, addr 1be7d4, initialized 0, valid 0, error 0, errCmd 09, answer 0, unkbit (0,0,0)
2020.10.12 18:39:42 5: ml, SimpleWrite: l:
2020.10.12 18:39:42 5: ml, Parse: MSG L:Cxvn1AkAAAAAAAAA
2020.10.12 18:39:42 5: ml len 11, addr 1be7d4, initialized 0, valid 0, error 0, errCmd 09, answer 0, unkbit (0,0,0)
2020.10.12 18:40:12 5: ml, SimpleWrite: l:
2020.10.12 18:40:12 5: ml, Parse: MSG L:Cxvn1AkAAAAAAAAA
2020.10.12 18:40:12 5: ml len 11, addr 1be7d4, initialized 0, valid 0, error 0, errCmd 09, answer 0, unkbit (0,0,0)
2020.10.12 18:40:42 5: ml, SimpleWrite: l:
2020.10.12 18:40:42 5: ml, Parse: MSG L:Cxvn1AkAAAAAAAAA
2020.10.12 18:40:42 5: ml len 11, addr 1be7d4, initialized 0, valid 0, error 0, errCmd 09, answer 0, unkbit (0,0,0)
2020.10.12 18:41:12 5: ml, SimpleWrite: l:
2020.10.12 18:41:12 5: ml, Parse: MSG L:Cxvn1AkAAAAAAAAA
2020.10.12 18:41:12 5: ml len 11, addr 1be7d4, initialized 0, valid 0, error 0, errCmd 09, answer 0, unkbit (0,0,0)
2020.10.12 18:41:42 5: ml, SimpleWrite: l:
2020.10.12 18:41:42 5: ml, Parse: MSG L:Cxvn1AkAAAAAAAAA
2020.10.12 18:41:42 5: ml len 11, addr 1be7d4, initialized 0, valid 0, error 0, errCmd 09, answer 0, unkbit (0,0,0)
2020.10.12 18:42:12 5: ml, SimpleWrite: l:
2020.10.12 18:42:12 5: ml, Parse: MSG L:Cxvn1AkSGRApAAAA
2020.10.12 18:42:12 5: ml len 11, addr 1be7d4, initialized 1, valid 1, error 0, errCmd 09, answer 0, unkbit (0,0,0)
2020.10.12 18:42:12 5: ml: dispatch MAX,1,ThermostatState,1be7d4,191029000000
2020.10.12 18:42:12 5: MAX_Parse, MAX,1,ThermostatState,1be7d4,191029000000
2020.10.12 18:42:42 5: ml, SimpleWrite: l:
2020.10.12 18:42:42 5: ml, Parse: MSG L:Cxvn1AkSGRApAAAA
2020.10.12 18:42:42 5: ml len 11, addr 1be7d4, initialized 1, valid 1, error 0, errCmd 09, answer 0, unkbit (0,0,0)
2020.10.12 18:42:42 5: ml: dispatch MAX,1,ThermostatState,1be7d4,191029000000
2020.10.12 18:42:42 5: MAX_Parse, MAX,1,ThermostatState,1be7d4,191029000000
2020.10.12 18:43:12 5: ml, SimpleWrite: l:
2020.10.12 18:43:12 5: ml, Parse: MSG L:Cxvn1AkSGRApAAAA
2020.10.12 18:43:12 5: ml len 11, addr 1be7d4, initialized 1, valid 1, error 0, errCmd 09, answer 0, unkbit (0,0,0)
2020.10.12 18:43:12 5: ml: dispatch MAX,1,ThermostatState,1be7d4,191029000000
2020.10.12 18:43:12 5: MAX_Parse, MAX,1,ThermostatState,1be7d4,191029000000
2020.10.12 18:43:31 2: AttrTemplates: got 127 entries
2020.10.12 18:43:42 5: ml, SimpleWrite: l:
2020.10.12 18:43:42 5: ml, Parse: MSG L:Cxvn1AkSGRApAAAA
2020.10.12 18:43:42 5: ml len 11, addr 1be7d4, initialized 1, valid 1, error 0, errCmd 09, answer 0, unkbit (0,0,0)
2020.10.12 18:43:42 5: ml: dispatch MAX,1,ThermostatState,1be7d4,191029000000
2020.10.12 18:43:42 5: MAX_Parse, MAX,1,ThermostatState,1be7d4,191029000000
2020.10.12 18:44:12 5: ml, SimpleWrite: l:
2020.10.12 18:44:13 5: ml, Parse: MSG L:Cxvn1AkSGRApAAAA
2020.10.12 18:44:13 5: ml len 11, addr 1be7d4, initialized 1, valid 1, error 0, errCmd 09, answer 0, unkbit (0,0,0)
2020.10.12 18:44:13 5: ml: dispatch MAX,1,ThermostatState,1be7d4,191029000000
2020.10.12 18:44:13 5: MAX_Parse, MAX,1,ThermostatState,1be7d4,191029000000

Wzut

OK, strange :
2020.10.12 18:37:11 5: ml, _parse_cmd_C: len 210, addr 1be7d4, devicetype 1, firmware 17, testresult 161, groupid 1, serial PEQ1013869
2020.10.12 18:37:11 5: ml: dispatch MAX,1,define,1be7d4,HeatingThermostat,PEQ1013869,1 <- here it is
2020.10.12 18:37:11 5: MAX_Parse, MAX,1,define,1be7d4,HeatingThermostat,PEQ1013869,1  <- here it is
2020.10.12 18:37:11 3: MAX_PARSE, got message define for undefined device 1be7d4 type HeatingThermostat , autocreate is enabled

in my FHEM ml fills the readings serial and groupid after autocreate has defined them.
If you set reconnect on the ml device usually the cube is sending the list again. Are the readings groupid than set to 1 ?

by the way , your MAXID  : 172943

Please post a list of MAX_1be7d4
Maintainer der Module: MAX, MPD, UbiquitiMP, UbiquitiOut, SIP, BEOK, readingsWatcher

kennybl

I did a "reconnect" on the ml and I got this log I think:


2020.10.12 19:08:17 5: ml, SimpleWrite: l:
2020.10.12 19:08:17 5: ml, Parse: MSG L:Cxvn1AkSGRApANoA
2020.10.12 19:08:17 5: ml len 11, addr 1be7d4, initialized 1, valid 1, error 0, errCmd 09, answer 0, unkbit (0,0,0)
2020.10.12 19:08:17 5: ml: dispatch MAX,1,ThermostatState,1be7d4,19102900da00
2020.10.12 19:08:17 5: MAX_Parse, MAX,1,ThermostatState,1be7d4,19102900da00
2020.10.12 19:08:22 5: ml, disconnect
2020.10.12 19:08:22 3: Opening ml device 192.168.1.16:62910
2020.10.12 19:08:23 3: ml device opened
2020.10.12 19:08:23 5: ml, Parse: MSG H:NEQ1206430,172943,0113,00000000,2452fab8,03,32,140a0c,1408,03,0000
2020.10.12 19:08:23 2: ml, Cube thinks it is 12.10.2020 20:8
2020.10.12 19:08:23 2: ml, Time difference is 60 minutes
2020.10.12 19:08:23 5: ml, _parse_cmd_H: ip 2452fab8, duty cycle 3, freememory 32, clockset 3
2020.10.12 19:08:23 5: ml, Parse: MSG M:00,01,VgIBARBTbGFhcGthbWVyIEtlbnpvG+fUAQEb59RQRVExMDEzODY5DXRoZXJtb3N0YWF0XzEBAQ==
2020.10.12 19:08:23 5: ml, Parse: MSG C:172943,7RcpQwATAQBORVExMjA2NDMwAAsABEAAAAAAAAAAAP///////////////////////////wsABEAAAAAAAAAAQf///////////////////////////2h0dHA6Ly9tYXgtcG9ydGFsLmVxLTMuZGU6ODAvbG9va3VwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAENFVAAACgADAAAOEENFU1QAAwACAAAcIA==
2020.10.12 19:08:23 5: ml, _parse_cmd_C: len 237, addr 172943, devicetype 0, firmware 1, testresult 0, groupid 19, serial NEQ1206430
2020.10.12 19:08:23 5: ml, Parse: MSG C:1be7d4,0hvn1AEBEaFQRVExMDEzODY5KyE9CQcYAzAM/wBESFUIRSBFIEUgRSBFIEUgRSBFIEUgRSBFIERIVQhFIEUgRSBFIEUgRSBFIEUgRSBFIEUgREhUbETMVRRFIEUgRSBFIEUgRSBFIEUgRSBESFRsRMxVFEUgRSBFIEUgRSBFIEUgRSBFIERIVGxEzFUURSBFIEUgRSBFIEUgRSBFIEUgREhUbETMVRRFIEUgRSBFIEUgRSBFIEUgRSBESFRsRMxVFEUgRSBFIEUgRSBFIEUgRSBFIA==
2020.10.12 19:08:23 5: ml, _parse_cmd_C: len 210, addr 1be7d4, devicetype 1, firmware 17, testresult 161, groupid 1, serial PEQ1013869
2020.10.12 19:08:23 5: ml: dispatch MAX,1,define,1be7d4,HeatingThermostat,PEQ1013869,1
2020.10.12 19:08:23 5: MAX_Parse, MAX,1,define,1be7d4,HeatingThermostat,PEQ1013869,1
2020.10.12 19:08:23 5: ml, comfortemp 21.5, ecotemp 16.5, boostValve 80, boostDuration 1, tempoffset 0, minsetpointtemp off, maxsetpointtemp on, windowopentemp 12.0, windowopendur 15
2020.10.12 19:08:23 5: ml: dispatch MAX,1,HeatingThermostatConfig,1be7d4,16.5,21.5,on,off,444855084520452045204520452045204520452045204520452044485508452045204520452045204520452045204520452045204448546c44cc55144520452045204520452045204520452045204448546c44cc55144520452045204520452045204520452045204448546c44cc55144520452045204520452045204520452045204448546c44cc55144520452045204520452045204520452045204448546c44cc5514452045204520452045204520452045204520,80,1,0,12.0,15,100,0,0,12
2020.10.12 19:08:23 5: MAX_Parse, MAX,1,HeatingThermostatConfig,1be7d4,16.5,21.5,on,off,444855084520452045204520452045204520452045204520452044485508452045204520452045204520452045204520452045204448546c44cc55144520452045204520452045204520452045204448546c44cc55144520452045204520452045204520452045204448546c44cc55144520452045204520452045204520452045204448546c44cc55144520452045204520452045204520452045204448546c44cc5514452045204520452045204520452045204520,80,1,0,12.0,15,100,0,0,12
2020.10.12 19:08:23 5: ml: dispatch MAX,1,Error,1be7d4
2020.10.12 19:08:23 5: MAX_Parse, MAX,1,Error,1be7d4
2020.10.12 19:08:23 5: ml, Parse: MSG L:Cxvn1AkSGRApANoA
2020.10.12 19:08:23 5: ml len 11, addr 1be7d4, initialized 1, valid 1, error 0, errCmd 09, answer 0, unkbit (0,0,0)
2020.10.12 19:08:23 5: ml: dispatch MAX,1,ThermostatState,1be7d4,19102900da00
2020.10.12 19:08:23 5: MAX_Parse, MAX,1,ThermostatState,1be7d4,19102900da00
2020.10.12 19:09:43 5: ml, SimpleWrite: s:AARAAAAAG+fUAWo=
2020.10.12 19:09:43 5: ml, Parse: MSG S:03,0,31
2020.10.12 19:09:43 5: ml, _parse_cmd_S: dutycyle 3, freememoryslot 49
2020.10.12 19:09:43 5: ml: dispatch MAX,1,AckSetTemperature,1be7d4,21.0
2020.10.12 19:09:43 5: MAX_Parse, MAX,1,AckSetTemperature,1be7d4,21.0
2020.10.12 19:09:46 5: ml, SimpleWrite: l:
2020.10.12 19:09:47 5: ml, Parse: MSG L:Cxvn1AkSGRAqAAAA
2020.10.12 19:09:47 5: ml len 11, addr 1be7d4, initialized 1, valid 1, error 0, errCmd 09, answer 0, unkbit (0,0,0)
2020.10.12 19:09:47 5: ml: dispatch MAX,1,ThermostatState,1be7d4,19102a000000
2020.10.12 19:09:47 5: MAX_Parse, MAX,1,ThermostatState,1be7d4,19102a000000
2020.10.12 19:10:17 5: ml, SimpleWrite: l:
2020.10.12 19:10:17 5: ml, Parse: MSG L:Cxvn1AkSGRAqANoA
2020.10.12 19:10:17 5: ml len 11, addr 1be7d4, initialized 1, valid 1, error 0, errCmd 09, answer 0, unkbit (0,0,0)
2020.10.12 19:10:17 5: ml: dispatch MAX,1,ThermostatState,1be7d4,19102a00da00
2020.10.12 19:10:17 5: MAX_Parse, MAX,1,ThermostatState,1be7d4,19102a00da00
2020.10.12 19:10:47 5: ml, SimpleWrite: l:
2020.10.12 19:10:47 5: ml, Parse: MSG L:Cxvn1AkSGRAqANoA
2020.10.12 19:10:47 5: ml len 11, addr 1be7d4, initialized 1, valid 1, error 0, errCmd 09, answer 0, unkbit (0,0,0)
2020.10.12 19:10:47 5: ml: dispatch MAX,1,ThermostatState,1be7d4,19102a00da00
2020.10.12 19:10:47 5: MAX_Parse, MAX,1,ThermostatState,1be7d4,19102a00da00


After that I changed a temperature and I got this log:

2020.10.12 19:11:17 5: ml, SimpleWrite: l:
2020.10.12 19:11:17 5: ml, Parse: MSG L:Cxvn1AkSGRAqANoA
2020.10.12 19:11:17 5: ml len 11, addr 1be7d4, initialized 1, valid 1, error 0, errCmd 09, answer 0, unkbit (0,0,0)
2020.10.12 19:11:17 5: ml: dispatch MAX,1,ThermostatState,1be7d4,19102a00da00
2020.10.12 19:11:17 5: MAX_Parse, MAX,1,ThermostatState,1be7d4,19102a00da00




list MAX_1be7d4:

Internals:
   CFGFN     
   DEF        HeatingThermostat 1be7d4
   FUUID      5f849447-f33f-c04f-6188-676d2c890d04a284
   FVERSION   10_MAX.pm:?-s21928/2020-05-13
   IODev      ml
   LASTInputDev ml
   MSGCNT     62
   NAME       MAX_1be7d4
   NOTIFYDEV  global
   NR         20
   NTFY_ORDER 50-MAX_1be7d4
   STATE      21.0
   SVN        21928
   TYPE       MAX
   TimeSlot   -1
   addr       1be7d4
   devtype    1
   ml_MSGCNT  62
   ml_TIME    2020-10-12 19:10:17
   type       HeatingThermostat
   READINGS:
     2020-10-12 19:08:23   PairedTo        172943
     2020-10-12 19:08:23   SerialNr        PEQ1013869
     2020-10-12 19:10:17   battery         ok
     2020-10-12 19:10:17   batteryState    ok
     2020-10-12 19:08:23   boostDuration   5
     2020-10-12 19:08:23   boostValveposition 80
     2020-10-12 19:08:23   comfortTemperature 21.5
     2020-10-12 19:08:23   decalcification Sat 12:00
     2020-10-12 19:10:17   desiredTemperature 21.0
     2020-10-12 19:10:17   deviation       0.8
     2020-10-12 19:08:23   ecoTemperature  16.5
     2020-10-12 18:37:11   error           invalid or missing value  for READING .weekProfile
     2020-10-12 19:08:23   firmware        1.1
     2020-10-12 19:10:17   gateway         1
     2020-10-12 19:08:23   groupid         1
     2020-10-12 19:09:43   lastcmd         desiredTemperature 21.0
     2020-10-12 19:08:23   maxValveSetting 100
     2020-10-12 19:08:23   maximumTemperature on
     2020-10-12 19:08:23   measurementOffset 0.0
     2020-10-12 19:08:23   minimumTemperature off
     2020-10-12 19:10:17   mode            manual
     2020-10-12 19:10:17   panel           unlocked
     2020-10-12 19:10:17   rferror         0
     2020-10-12 19:10:17   state           21.0
     2020-10-12 19:10:17   temperature     21.8
     2020-10-12 19:08:23   testresult      161
     2020-10-12 19:08:23   valveOffset     0
     2020-10-12 19:10:17   valveposition   16
     2020-10-12 19:08:23   weekprofile-0-Sat-temp 17.0 °C  /  21.0 °C  /  17.0 °C
     2020-10-12 19:08:23   weekprofile-0-Sat-time 00:00-06:00  /  06:00-22:00  /  22:00-24:00
     2020-10-12 19:08:23   weekprofile-1-Sun-temp 17.0 °C  /  21.0 °C  /  17.0 °C
     2020-10-12 19:08:23   weekprofile-1-Sun-time 00:00-06:00  /  06:00-22:00  /  22:00-24:00
     2020-10-12 19:08:23   weekprofile-2-Mon-temp 17.0 °C  /  21.0 °C  /  17.0 °C  /  21.0 °C  /  17.0 °C
     2020-10-12 19:08:23   weekprofile-2-Mon-time 00:00-06:00  /  06:00-09:00  /  09:00-17:00  /  17:00-23:00  /  23:00-24:00
     2020-10-12 19:08:23   weekprofile-3-Tue-temp 17.0 °C  /  21.0 °C  /  17.0 °C  /  21.0 °C  /  17.0 °C
     2020-10-12 19:08:23   weekprofile-3-Tue-time 00:00-06:00  /  06:00-09:00  /  09:00-17:00  /  17:00-23:00  /  23:00-24:00
     2020-10-12 19:08:23   weekprofile-4-Wed-temp 17.0 °C  /  21.0 °C  /  17.0 °C  /  21.0 °C  /  17.0 °C
     2020-10-12 19:08:23   weekprofile-4-Wed-time 00:00-06:00  /  06:00-09:00  /  09:00-17:00  /  17:00-23:00  /  23:00-24:00
     2020-10-12 19:08:23   weekprofile-5-Thu-temp 17.0 °C  /  21.0 °C  /  17.0 °C  /  21.0 °C  /  17.0 °C
     2020-10-12 19:08:23   weekprofile-5-Thu-time 00:00-06:00  /  06:00-09:00  /  09:00-17:00  /  17:00-23:00  /  23:00-24:00
     2020-10-12 19:08:23   weekprofile-6-Fri-temp 17.0 °C  /  21.0 °C  /  17.0 °C  /  21.0 °C  /  17.0 °C
     2020-10-12 19:08:23   weekprofile-6-Fri-time 00:00-06:00  /  06:00-09:00  /  09:00-17:00  /  17:00-23:00  /  23:00-24:00
     2020-10-12 19:08:23   windowOpenDuration 15
     2020-10-12 19:08:23   windowOpenTemperature 12.0
   helper:
     dt         21.0
     myday      2
Attributes:
   IODev      ml
   model      HeatingThermostat
   room       MAX

Wzut

perfect ! the reading groupid is set to 1 :) Now you can do the rest
Maintainer der Module: MAX, MPD, UbiquitiMP, UbiquitiOut, SIP, BEOK, readingsWatcher

kennybl

Thanks a lot! I go to add all thermostats to groups and then go on with your steps

kennybl

I now have connected all my thermostats and they have room: MAX

I want to save all the configs with the set saveConfig, but when I press "set", I get this safari error:

Safari cannot open the page

I tried to enter a value in the input field but also without, the error stays the same

Wzut

any lines in the log file ?
do you have files that end with .max in /opt/fhem/logs ?
has the device a new Reading called lastConfigSave ? 
Maintainer der Module: MAX, MPD, UbiquitiMP, UbiquitiOut, SIP, BEOK, readingsWatcher

kennybl

#26
I don't have a /opt/fhem/logs folder, I do have a /opt/fhem/log folder so I guess it needs to be that one.

I have a list of files but they all end with .log, .save or .txt.
I do have all the MAX_1bc....-2020.log but I'm not sure if you mean this?

There is no lastConfigSave value for the thermostat


Edit: After i try to set the saveConfig i see fhem crashes and after 20 seconds it is restarted again (Both Mac & Windows)

Wzut

Maintainer der Module: MAX, MPD, UbiquitiMP, UbiquitiOut, SIP, BEOK, readingsWatcher

kennybl

Zitat von: Wzut am 17 Oktober 2020, 13:44:32
nice and how should I help if you hide the corresponding log?

i don't hide the config haha, i just don't know what config you need to have since i don't have a .max file?

Wzut

I dont talk about configs , I want to see the part of your normal FHEM Log file when FHEM has crashed,
usually the cause of the crash is logged there.   
Maintainer der Module: MAX, MPD, UbiquitiMP, UbiquitiOut, SIP, BEOK, readingsWatcher