Giter Site home page Giter Site logo

Comments (12)

PatchworkBoy avatar PatchworkBoy commented on June 9, 2024

Am guessing you want idx 17 (Type “Thermostat”) to show up as a temperature reading, whereas idx 18 already shows up correctly as a temperature reading and idx 11 already shows up correctly as a switch?

from homebridge-edomoticz.

PatchworkBoy avatar PatchworkBoy commented on June 9, 2024

OK - VERY experimental support added in 7373391 - I’ve got no way to test this one at all! It should read the current setPoint and allow you to change it also (have assumed that OpenTherm sensors use the same endpoint as EvoHome sensors within the Domoticz JSON API for control)

Let me know how you get on!

from homebridge-edomoticz.

arcidodo avatar arcidodo commented on June 9, 2024

thanks for helping me out here! but this is whats happend,

`Loaded config.json with 0 accessories and 1 platforms.

Loading 1 platforms...
[eDomoticz] Initializing eDomoticz platform...
[eDomoticz] Fetching Domoticz lights and switches...
Loading 0 accessories...
[eDomoticz] Initializing platform accessory 'Arco Iphone'...
[eDomoticz] Initializing platform accessory 'Gang'...
[eDomoticz] Initializing platform accessory 'Keuken'...
[eDomoticz] Initializing platform accessory 'Keuken afzuigkap'...
[eDomoticz] Initializing platform accessory 'Keuken eettafel'...
[eDomoticz] Initializing platform accessory 'Keuken kast'...
[eDomoticz] Initializing platform accessory 'Keuken spotjes'...
[eDomoticz] Initializing platform accessory 'Room Setpoint'...
events.js:197
throw new TypeError('listener must be a function');
^

TypeError: listener must be a function
at addListener (events.js:197:11)
at Object.eDomoticzAccessory.getServices (/usr/local/lib/node_modules/homebridge-edomoticz/index.js:1217:99)
at Server._createAccessory (/usr/local/lib/node_modules/homebridge/lib/server.js:235:36)
at Server. (/usr/local/lib/node_modules/homebridge/lib/server.js:221:32)
at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/once.js:15:19
at callbackLater (/usr/local/lib/node_modules/homebridge-edomoticz/index.js:423:37)
at Object. (/usr/local/lib/node_modules/homebridge-edomoticz/index.js:453:17)
at Request.self.callback (/usr/local/lib/node_modules/homebridge-edomoticz/node_modules/request/request.js:198:22)
at emitTwo (events.js:87:13)
at Request.emit (events.js:172:7)
`

IDX type 17 is the setpoint of the thermostat
IDX type 18 is the actual temperature of the room, but indeed thats shows up correctly
IDX type 11 is a switch if the boiler is on or off

from homebridge-edomoticz.

PatchworkBoy avatar PatchworkBoy commented on June 9, 2024

Is that after a full update of the plugin via npm? That issue was fixed in a release later on yesterday....

from homebridge-edomoticz.

PatchworkBoy avatar PatchworkBoy commented on June 9, 2024

(0.1.18 onwards)

from homebridge-edomoticz.

arcidodo avatar arcidodo commented on June 9, 2024

ahh ok, its working indeed but it shows up like this:

image

from homebridge-edomoticz.

PatchworkBoy avatar PatchworkBoy commented on June 9, 2024

Update to v0.1.21 and give it another try please...!

from homebridge-edomoticz.

arcidodo avatar arcidodo commented on June 9, 2024

image

image

much better but it's not setting the setpoint in domoitcz.

from homebridge-edomoticz.

PatchworkBoy avatar PatchworkBoy commented on June 9, 2024

I had to guess at the json.htm url to send the command to - hence it being experimental support. Obvs I got it wrong! Will check the wiki.

from homebridge-edomoticz.

PatchworkBoy avatar PatchworkBoy commented on June 9, 2024

Just pushed 0.1.22 with some tweaks to the URL - try that...

from homebridge-edomoticz.

arcidodo avatar arcidodo commented on June 9, 2024

image

whaaat! its working! thanks man!!

from homebridge-edomoticz.

PatchworkBoy avatar PatchworkBoy commented on June 9, 2024

Awesome! Enjoy!!

from homebridge-edomoticz.

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.