{"action":"reopened","issue":{"url":"https://api.github.com/repos/justme-1968/homebridge-fhem/issues/21","repository_url":"https://api.github.com/repos/justme-1968/homebridge-fhem","labels_url":"https://api.github.com/repos/justme-1968/homebridge-fhem/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/justme-1968/homebridge-fhem/issues/21/comments","events_url":"https://api.github.com/repos/justme-1968/homebridge-fhem/issues/21/events","html_url":"https://github.com/justme-1968/homebridge-fhem/issues/21","id":180541987,"number":21,"title":"Max! Thermostats : Incorrect mode shown in home app","user":{"login":"tobiasmuecksch","id":1294854,"avatar_url":"https://avatars.githubusercontent.com/u/1294854?v=3","gravatar_id":"","url":"https://api.github.com/users/tobiasmuecksch","html_url":"https://github.com/tobiasmuecksch","followers_url":"https://api.github.com/users/tobiasmuecksch/followers","following_url":"https://api.github.com/users/tobiasmuecksch/following{/other_user}","gists_url":"https://api.github.com/users/tobiasmuecksch/gists{/gist_id}","starred_url":"https://api.github.com/users/tobiasmuecksch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobiasmuecksch/subscriptions","organizations_url":"https://api.github.com/users/tobiasmuecksch/orgs","repos_url":"https://api.github.com/users/tobiasmuecksch/repos","events_url":"https://api.github.com/users/tobiasmuecksch/events{/privacy}","received_events_url":"https://api.github.com/users/tobiasmuecksch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-02T23:14:46Z","updated_at":"2016-10-05T15:50:27Z","closed_at":null,"body":"Hey there,\r\n\r\nI noticed a strange behavior for Max! Thermostats in home kit.\r\n\r\nWhen I look at the readings in fhem all my thermostats are in mode \"auto\". But the home app always shows them as \"off\". When I change the mode in the home app, it shows the new mode until I kill and restart the app.\r\n\r\nIs this behavior intended or is it a bug? Anyway it looks strange.\r\n\r\n**Versions:**\r\nhomebridge: 0.4.6\r\nhomebridge-fhem: 0.2.47\r\n\r\nHere's the jsonlist2 of one of my thermostats:\r\n```\r\n{ \r\n  \"Arg\":\"MAX_0716a6\", \r\n  \"Results\": [ \r\n  { \r\n    \"Name\":\"MAX_0716a6\", \r\n    \"PossibleSets\":\"wakeUp factoryReset groupid associate:MAX_093d63,MAX_10d785,MAX_067ab2,MAX_035278,MAX_0746ff,MAX_071689,MAX_03975d deassociate:MAX_093d63,MAX_10d785,MAX_067ab2,MAX_035278,MAX_0746ff,MAX_071689,MAX_03975d desiredTemperature:eco,comfort,boost,auto,off,5.0,5.5,6.0,6.5,7.0,7.5,8.0,8.5,9.0,9.5,10.0,10.5,11.0,11.5,12.0,12.5,13.0,13.5,14.0,14.5,15.0,15.5,16.0,16.5,17.0,17.5,18.0,18.5,19.0,19.5,20.0,20.5,21.0,21.5,22.0,22.5,23.0,23.5,24.0,24.5,25.0,25.5,26.0,26.5,27.0,27.5,28.0,28.5,29.0,29.5,30.0,on ecoTemperature:off,5.0,5.5,6.0,6.5,7.0,7.5,8.0,8.5,9.0,9.5,10.0,10.5,11.0,11.5,12.0,12.5,13.0,13.5,14.0,14.5,15.0,15.5,16.0,16.5,17.0,17.5,18.0,18.5,19.0,19.5,20.0,20.5,21.0,21.5,22.0,22.5,23.0,23.5,24.0,24.5,25.0,25.5,26.0,26.5,27.0,27.5,28.0,28.5,29.0,29.5,30.0,on comfortTemperature:off,5.0,5.5,6.0,6.5,7.0,7.5,8.0,8.5,9.0,9.5,10.0,10.5,11.0,11.5,12.0,12.5,13.0,13.5,14.0,14.5,15.0,15.5,16.0,16.5,17.0,17.5,18.0,18.5,19.0,19.5,20.0,20.5,21.0,21.5,22.0,22.5,23.0,23.5,24.0,24.5,25.0,25.5,26.0,26.5,27.0,27.5,28.0,28.5,29.0,29.5,30.0,on measurementOffset:-3.5,-3.0,-2.5,-2.0,-1.5,-1.0,-0.5,0.0,0.5,1.0,1.5,2.0,2.5,3.0,3.5 maximumTemperature:off,5.0,5.5,6.0,6.5,7.0,7.5,8.0,8.5,9.0,9.5,10.0,10.5,11.0,11.5,12.0,12.5,13.0,13.5,14.0,14.5,15.0,15.5,16.0,16.5,17.0,17.5,18.0,18.5,19.0,19.5,20.0,20.5,21.0,21.5,22.0,22.5,23.0,23.5,24.0,24.5,25.0,25.5,26.0,26.5,27.0,27.5,28.0,28.5,29.0,29.5,30.0,on minimumTemperature:off,5.0,5.5,6.0,6.5,7.0,7.5,8.0,8.5,9.0,9.5,10.0,10.5,11.0,11.5,12.0,12.5,13.0,13.5,14.0,14.5,15.0,15.5,16.0,16.5,17.0,17.5,18.0,18.5,19.0,19.5,20.0,20.5,21.0,21.5,22.0,22.5,23.0,23.5,24.0,24.5,25.0,25.5,26.0,26.5,27.0,27.5,28.0,28.5,29.0,29.5,30.0,on windowOpenTemperature:off,5.0,5.5,6.0,6.5,7.0,7.5,8.0,8.5,9.0,9.5,10.0,10.5,11.0,11.5,12.0,12.5,13.0,13.5,14.0,14.5,15.0,15.5,16.0,16.5,17.0,17.5,18.0,18.5,19.0,19.5,20.0,20.5,21.0,21.5,22.0,22.5,23.0,23.5,24.0,24.5,25.0,25.5,26.0,26.5,27.0,27.5,28.0,28.5,29.0,29.5,30.0,on windowOpenDuration boostDuration:20,10,30,60,5,0,15,25 boostValveposition decalcification maxValveSetting valveOffset weekProfile\", \r\n    \"PossibleAttrs\":\"alias comment:textField-long eventMap group room suppressReading userReadings:textField-long verbose:0,1,2,3,4,5 IODev do_not_notify:1,0 ignore:0,1 dummy:0,1 showtime:1,0 keepAuto:0,1 scanTemp:0,1 event-on-change-reading event-on-update-reading event-aggregator event-min-interval stateFormat:textField-long timestamp-on-change-reading alarmDevice:Actor,Sensor alarmSettings cmdIcon devStateIcon devStateStyle genericDeviceType:ignore,switch,outlet,light,blind,thermometer,thermostat,garage,window,lock homebridgeMapping:textField-long icon sortby webCmd widgetOverride userattr\", \r\n    \"Internals\": { \r\n      \"DEF\": \"HeatingThermostat 0716a6\", \r\n      \"LASTInputDev\": \"ml\", \r\n      \"MSGCNT\": \"735\", \r\n      \"NAME\": \"MAX_0716a6\", \r\n      \"NR\": \"33\", \r\n      \"STATE\": \"18.0 °C\", \r\n      \"TYPE\": \"MAX\", \r\n      \"addr\": \"0716a6\", \r\n      \"backend\": \"ml\", \r\n      \"dstsetting\": \"1\", \r\n      \"ml_MSGCNT\": \"735\", \r\n      \"ml_TIME\": \"2016-10-03 01:02:22\", \r\n      \"mode\": \"0\", \r\n      \"rferror\": \"0\", \r\n      \"serial\": \"KHA0003204\", \r\n      \"type\": \"HeatingThermostat\" \r\n    }, \r\n    \"Readings\": { \r\n      \"MAXLAN_error\": { \"Value\":\"0\", \"Time\":\"2016-10-03 01:02:22\" }, \r\n      \"MAXLAN_errorInCommand\": { \"Value\":\"\", \"Time\":\"2016-10-03 01:02:22\" }, \r\n      \"MAXLAN_initialized\": { \"Value\":\"1\", \"Time\":\"2016-10-03 01:02:22\" }, \r\n      \"MAXLAN_isAnswer\": { \"Value\":\"0\", \"Time\":\"2016-10-03 01:02:22\" }, \r\n      \"MAXLAN_valid\": { \"Value\":\"1\", \"Time\":\"2016-10-03 01:02:22\" }, \r\n      \"battery\": { \"Value\":\"ok\", \"Time\":\"2016-10-03 01:02:22\" }, \r\n      \"boostDuration\": { \"Value\":\"5\", \"Time\":\"2016-10-02 12:47:35\" }, \r\n      \"boostValveposition\": { \"Value\":\"80\", \"Time\":\"2016-10-02 12:47:35\" }, \r\n      \"comfortTemperature\": { \"Value\":\"21.5\", \"Time\":\"2016-10-02 12:47:35\" }, \r\n      \"decalcification\": { \"Value\":\"Sat 12:00\", \"Time\":\"2016-10-02 12:47:35\" }, \r\n      \"desiredTemperature\": { \"Value\":\"18.0\", \"Time\":\"2016-10-03 01:02:22\" }, \r\n      \"ecoTemperature\": { \"Value\":\"16.5\", \"Time\":\"2016-10-02 12:47:35\" }, \r\n      \"firmware\": { \"Value\":\"1.8\", \"Time\":\"2016-10-02 12:47:35\" }, \r\n      \"groupid\": { \"Value\":\"6\", \"Time\":\"2016-10-02 12:47:35\" }, \r\n      \"maxValveSetting\": { \"Value\":\"100\", \"Time\":\"2016-10-02 12:47:35\" }, \r\n      \"maximumTemperature\": { \"Value\":\"on\", \"Time\":\"2016-10-02 12:47:35\" }, \r\n      \"measurementOffset\": { \"Value\":\"0.0\", \"Time\":\"2016-10-02 12:47:35\" }, \r\n      \"minimumTemperature\": { \"Value\":\"off\", \"Time\":\"2016-10-02 12:47:35\" }, \r\n      \"mode\": { \"Value\":\"auto\", \"Time\":\"2016-10-03 01:02:22\" }, \r\n      \"state\": { \"Value\":\"18.0 °C\", \"Time\":\"2016-10-03 01:02:22\" }, \r\n      \"temperature\": { \"Value\":\"19.9\", \"Time\":\"2016-10-03 00:30:12\" }, \r\n      \"testresult\": { \"Value\":\"255\", \"Time\":\"2016-10-02 12:47:35\" }, \r\n      \"valveOffset\": { \"Value\":\"0\", \"Time\":\"2016-10-02 12:47:35\" }, \r\n      \"valveposition\": { \"Value\":\"13\", \"Time\":\"2016-10-03 01:02:22\" }, \r\n      \"weekprofile-0-Sat-temp\": { \"Value\":\"17.0 °C\", \"Time\":\"2016-10-02 12:47:35\" }, \r\n      \"weekprofile-0-Sat-time\": { \"Value\":\"00:00-00:00\", \"Time\":\"2016-10-02 12:47:35\" }, \r\n      \"weekprofile-1-Sun-temp\": { \"Value\":\"17.0 °C\", \"Time\":\"2016-10-02 12:47:35\" }, \r\n      \"weekprofile-1-Sun-time\": { \"Value\":\"00:00-00:00\", \"Time\":\"2016-10-02 12:47:35\" }, \r\n      \"weekprofile-2-Mon-temp\": { \"Value\":\"18.0 °C  /  21.0 °C  /  18.0 °C\", \"Time\":\"2016-10-02 12:47:35\" }, \r\n      \"weekprofile-2-Mon-time\": { \"Value\":\"00:00-06:05  /  06:05-09:00  /  09:00-00:00\", \"Time\":\"2016-10-02 12:47:35\" }, \r\n      \"weekprofile-3-Tue-temp\": { \"Value\":\"18.0 °C  /  21.0 °C  /  18.0 °C\", \"Time\":\"2016-10-02 12:47:35\" }, \r\n      \"weekprofile-3-Tue-time\": { \"Value\":\"00:00-06:05  /  06:05-09:00  /  09:00-00:00\", \"Time\":\"2016-10-02 12:47:35\" }, \r\n      \"weekprofile-4-Wed-temp\": { \"Value\":\"18.0 °C  /  21.0 °C  /  18.0 °C\", \"Time\":\"2016-10-02 12:47:35\" }, \r\n      \"weekprofile-4-Wed-time\": { \"Value\":\"00:00-06:05  /  06:05-09:00  /  09:00-00:00\", \"Time\":\"2016-10-02 12:47:35\" }, \r\n      \"weekprofile-5-Thu-temp\": { \"Value\":\"18.0 °C  /  21.0 °C  /  18.0 °C\", \"Time\":\"2016-10-02 12:47:35\" }, \r\n      \"weekprofile-5-Thu-time\": { \"Value\":\"00:00-06:05  /  06:05-09:00  /  09:00-00:00\", \"Time\":\"2016-10-02 12:47:35\" }, \r\n      \"weekprofile-6-Fri-temp\": { \"Value\":\"18.0 °C  /  21.0 °C  /  18.0 °C\", \"Time\":\"2016-10-02 12:47:35\" }, \r\n      \"weekprofile-6-Fri-time\": { \"Value\":\"00:00-06:05  /  06:05-09:00  /  09:00-00:00\", \"Time\":\"2016-10-02 12:47:35\" }, \r\n      \"windowOpenDuration\": { \"Value\":\"15\", \"Time\":\"2016-10-02 12:47:35\" }, \r\n      \"windowOpenTemperature\": { \"Value\":\"12.0\", \"Time\":\"2016-10-02 12:47:35\" } \r\n    }, \r\n    \"Attributes\": { \r\n      \"IODev\": \"ml\", \r\n      \"alias\": \"Heizung im Schlafzimmer\", \r\n      \"room\": \"Schlafzimmer,MAX\" \r\n    } \r\n  }  ], \r\n  \"totalResultsReturned\":1 \r\n} \r\n```"}}
{"actor":{"display_login":"tobiasmuecksch"}}