Giter Club home page Giter Club logo

Comments (11)

justme-1968 avatar justme-1968 commented on September 26, 2024 1

can you verify that you really have version 0.2.46?

npm update does not work sometimes and just re installing works.

from homebridge-fhem.

justme-1968 avatar justme-1968 commented on September 26, 2024

what is your setting for genericDeviceType? it should be thermostat not thermometer.

from homebridge-fhem.

tobiasmuecksch avatar tobiasmuecksch commented on September 26, 2024

@justme-1968 Do you mean the attributes for each device in FHEM?

from homebridge-fhem.

justme-1968 avatar justme-1968 commented on September 26, 2024

yes. did you set anything?

from homebridge-fhem.

tobiasmuecksch avatar tobiasmuecksch commented on September 26, 2024

@justme-1968 No, not yet. I've checked my fhem configuration. There is no such attribute present yet. I will add it by hand and let you know what happened.

Is it mandatory to add this attribute manually?

from homebridge-fhem.

justme-1968 avatar justme-1968 commented on September 26, 2024

it should not be mandatory for max thermostats.

please post a jsonlist2 from such a device

from homebridge-fhem.

tobiasmuecksch avatar tobiasmuecksch commented on September 26, 2024

@justme-1968 Setting the genericDeviceType did the trick.

from homebridge-fhem.

tobiasmuecksch avatar tobiasmuecksch commented on September 26, 2024

@justme-1968 Sorry for asking, I already found out how to retrieve the jsonlist2.

Here you go:

{ 
  "Arg":"MAX_10d785", 
  "Results": [ 
  { 
    "Name":"MAX_10d785", 
    "PossibleSets":"wakeUp factoryReset groupid associate:MAX_093d63,MAX_0746ff,MAX_0716a6,MAX_03975d,MAX_071689,MAX_035278,MAX_067ab2 deassociate:MAX_093d63,MAX_0746ff,MAX_0716a6,MAX_03975d,MAX_071689,MAX_035278,MAX_067ab2 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:10,60,25,5,15,30,0,20 boostValveposition decalcification maxValveSetting valveOffset weekProfile", 
    "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 cmdIcon devStateIcon devStateStyle genericDeviceType:ignore,switch,outlet,light,blind,thermometer,thermostat,garage,window,lock homebridgeMapping:textField-long icon sortby webCmd widgetOverride userattr", 
    "Internals": { 
      "DEF": "HeatingThermostat 10d785", 
      "LASTInputDev": "ml", 
      "MSGCNT": "326", 
      "NAME": "MAX_10d785", 
      "NR": "37", 
      "STATE": "16.5 °C", 
      "TYPE": "MAX", 
      "addr": "10d785", 
      "backend": "ml", 
      "dstsetting": "1", 
      "ml_MSGCNT": "326", 
      "ml_TIME": "2016-09-29 12:38:18", 
      "mode": "1", 
      "rferror": "0", 
      "serial": "MKF0026676", 
      "type": "HeatingThermostat" 
    }, 
    "Readings": { 
      "MAXLAN_error": { "Value":"0", "Time":"2016-09-29 12:38:18" }, 
      "MAXLAN_errorInCommand": { "Value":"", "Time":"2016-09-29 12:38:18" }, 
      "MAXLAN_initialized": { "Value":"1", "Time":"2016-09-29 12:38:18" }, 
      "MAXLAN_isAnswer": { "Value":"0", "Time":"2016-09-29 12:38:18" }, 
      "MAXLAN_valid": { "Value":"1", "Time":"2016-09-29 12:38:18" }, 
      "battery": { "Value":"ok", "Time":"2016-09-29 12:38:18" }, 
      "boostDuration": { "Value":"5", "Time":"2016-09-29 07:25:01" }, 
      "boostValveposition": { "Value":"80", "Time":"2016-09-29 07:25:01" }, 
      "comfortTemperature": { "Value":"21.5", "Time":"2016-09-29 07:25:01" }, 
      "decalcification": { "Value":"Sat 12:00", "Time":"2016-09-29 07:25:01" }, 
      "desiredTemperature": { "Value":"16.5", "Time":"2016-09-29 12:38:18" }, 
      "ecoTemperature": { "Value":"16.5", "Time":"2016-09-29 07:25:01" }, 
      "firmware": { "Value":"1.0", "Time":"2016-09-29 07:25:01" }, 
      "groupid": { "Value":"5", "Time":"2016-09-29 07:25:01" }, 
      "maxValveSetting": { "Value":"100", "Time":"2016-09-29 07:25:01" }, 
      "maximumTemperature": { "Value":"on", "Time":"2016-09-29 07:25:01" }, 
      "measurementOffset": { "Value":"0.0", "Time":"2016-09-29 07:25:01" }, 
      "minimumTemperature": { "Value":"off", "Time":"2016-09-29 07:25:01" }, 
      "mode": { "Value":"manual", "Time":"2016-09-29 12:38:18" }, 
      "state": { "Value":"16.5 °C", "Time":"2016-09-29 12:38:18" }, 
      "temperature": { "Value":"20.2", "Time":"2016-09-29 12:23:09" }, 
      "testresult": { "Value":"160", "Time":"2016-09-29 07:25:01" }, 
      "valveOffset": { "Value":"0", "Time":"2016-09-29 07:25:01" }, 
      "valveposition": { "Value":"0", "Time":"2016-09-29 12:38:18" }, 
      "weekprofile-0-Sat-temp": { "Value":"17.0 °C  /  21.0 °C  /  17.0 °C", "Time":"2016-09-29 07:25:01" }, 
      "weekprofile-0-Sat-time": { "Value":"00:00-06:00  /  06:00-22:00  /  22:00-00:00", "Time":"2016-09-29 07:25:01" }, 
      "weekprofile-1-Sun-temp": { "Value":"17.0 °C  /  21.0 °C  /  17.0 °C", "Time":"2016-09-29 07:25:01" }, 
      "weekprofile-1-Sun-time": { "Value":"00:00-06:00  /  06:00-22:00  /  22:00-00:00", "Time":"2016-09-29 07:25:01" }, 
      "weekprofile-2-Mon-temp": { "Value":"17.0 °C  /  21.0 °C  /  17.0 °C  /  21.0 °C  /  17.0 °C", "Time":"2016-09-29 07:25:01" }, 
      "weekprofile-2-Mon-time": { "Value":"00:00-06:00  /  06:00-09:00  /  09:00-17:00  /  17:00-23:00  /  23:00-00:00", "Time":"2016-09-29 07:25:01" }, 
      "weekprofile-3-Tue-temp": { "Value":"17.0 °C  /  21.0 °C  /  17.0 °C  /  21.0 °C  /  17.0 °C", "Time":"2016-09-29 07:25:01" }, 
      "weekprofile-3-Tue-time": { "Value":"00:00-06:00  /  06:00-09:00  /  09:00-17:00  /  17:00-23:00  /  23:00-00:00", "Time":"2016-09-29 07:25:01" }, 
      "weekprofile-4-Wed-temp": { "Value":"17.0 °C  /  21.0 °C  /  17.0 °C  /  21.0 °C  /  17.0 °C", "Time":"2016-09-29 07:25:01" }, 
      "weekprofile-4-Wed-time": { "Value":"00:00-06:00  /  06:00-09:00  /  09:00-17:00  /  17:00-23:00  /  23:00-00:00", "Time":"2016-09-29 07:25:01" }, 
      "weekprofile-5-Thu-temp": { "Value":"17.0 °C  /  21.0 °C  /  17.0 °C  /  21.0 °C  /  17.0 °C", "Time":"2016-09-29 07:25:01" }, 
      "weekprofile-5-Thu-time": { "Value":"00:00-06:00  /  06:00-09:00  /  09:00-17:00  /  17:00-23:00  /  23:00-00:00", "Time":"2016-09-29 07:25:01" }, 
      "weekprofile-6-Fri-temp": { "Value":"17.0 °C  /  21.0 °C  /  17.0 °C  /  21.0 °C  /  17.0 °C", "Time":"2016-09-29 07:25:01" }, 
      "weekprofile-6-Fri-time": { "Value":"00:00-06:00  /  06:00-09:00  /  09:00-17:00  /  17:00-23:00  /  23:00-00:00", "Time":"2016-09-29 07:25:01" }, 
      "windowOpenDuration": { "Value":"15", "Time":"2016-09-29 07:25:01" }, 
      "windowOpenTemperature": { "Value":"12.0", "Time":"2016-09-29 07:25:01" } 
    }, 
    "Attributes": { 
      "IODev": "ml", 
      "alias": "Heizung im Wohnzimmer", 
      "room": "MAX,Wohnzimmer" 
    } 
  }  ], 
  "totalResultsReturned":1 
} 

from homebridge-fhem.

justme-1968 avatar justme-1968 commented on September 26, 2024

i think i found the bug. please check if the latest version will work again without setting the genericDeviceType attribute explicitly.

from homebridge-fhem.

tobiasmuecksch avatar tobiasmuecksch commented on September 26, 2024

I just updated homebridge-fhem by stopping home bridge, typing npm update -g homebridge-fhem, and starting Homebridge again.
But the problem is still existent for thermostats without the genericDeviceType attribute.

Did I do something wrong?

from homebridge-fhem.

tobiasmuecksch avatar tobiasmuecksch commented on September 26, 2024

You were right! I was still on version 0.2.45. Good to know for the future, that npm's update is kind of buggy.

The problem is solved now!

Thank you so much, for the lightning fast help!

from homebridge-fhem.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.