Nyheder:

Følg NBE Production A/S på
Facebook, se hvad vi laver :-)

Hovedmenu

Home Assistant Smart home integration

Startet af e1z0, Nov 06, 2022, 03:56

0 Brugere og 1 Gæst læser dette emne.

hans1

Hej/Hi

Has anyone gotten this integration to work with controls (other than climate)?

I used nbetest (https://github.com/motoz/nbetest) to get the folders and names for entities and test that I could set parameters (python client.py -s xxxxxxx -p yyyyyyyy set settings/boiler/temp 78) - works perfect.

I have the docker container working and it works with Home Assistant and when using "sensors" and "climate" everything works fine (added "settings/hopper" in line 87 in nbe.py to be able to read that folder).

I want to be able to change the weekly scedule (i.e. monday in "settings/boiler/monday" and also the other days ) and hopper content ("settings/hopper/content"), but I don´t know python and chatgpt is not really helping.

The entities I want to use, are numbers as far as I can see.

In ha_classes.py sensor, switch and climate classes are defined and in nbe.py those classes are used. And nbe_schema defines the MQTT entities home assistant sees.

As far as I can understand, I need to add a "number" or "input_number" to ha_classes.py and in nbe.py?

anyone got controls this working? (right now I can set the hopper content using "climate" class, but thats really not the right way)

/Hans