hass_nibe icon indicating copy to clipboard operation
hass_nibe copied to clipboard

Smart Home mode

Open fondberg opened this issue 5 years ago • 10 comments

First, awesome work! I updated this morning and thought I would get smart home mode switch with your recent change. Do I need to remove nibe.json and restart HA and redo the configuration or how do I get it to show up?

fondberg avatar Mar 12 '19 12:03 fondberg

There is no switch. There is only a service for now.

elupus avatar Mar 18 '19 19:03 elupus

I see. Thanks. Does it take any parameters?

fondberg avatar Mar 19 '19 08:03 fondberg

set_smarthome_mode:
  description: Set system into a given smarthome mode.
  fields:
    system: {description: System identifcation to send command to., example: "12345"}
    mode: {description: "Mode to select. Can be DEFAULT_OPERATION, AWAY_FROM_HOME or VACATION", example: "DEFAULT_OPERATION"}

bohtho avatar Mar 20 '19 12:03 bohtho

How about reading smart home mode? GET api/v1/systems/{systemId}/smarthome/mode Is there an entity for it?

rostikk80 avatar Oct 29 '19 16:10 rostikk80

How about reading smart home mode? GET api/v1/systems/{systemId}/smarthome/mode Is there an entity for it?

Bump

rostikk80 avatar Nov 03 '19 21:11 rostikk80

Feel free to implement and give me a pull request :)

elupus avatar Nov 03 '19 21:11 elupus

https://github.com/elupus/hass_nibe/pull/82

mthornhill avatar Jan 01 '21 16:01 mthornhill

Could someone show a working yaml for for set_smarthome_mode service as button? I'm new to home assistant and would like to make buttons to manually set VACATION mode on.

sami-one avatar Jun 10 '22 10:06 sami-one

There is a switch for it already. Just make sure you are up-to-date.

elupus avatar Jun 10 '22 10:06 elupus

There is a switch for it already. Just make sure you are up-to-date. Am I even near at getting this to work? The ui shows the switch below. (id number sensored with XXX):

service: switch.turn_on data: {} target: entity_id: switch.nibe_XXXXXX_XXXXX

this results "Failed to call service switch.turn_on. Unknown error". And from the logs (part of url sensored with XXXXXX): Error handling message: Unknown error (unknown_error) aiohttp.client_exceptions.ClientResponseError: 400, message="{'httpStatusCode': 400, 'errorCode': 1, 'timestamp': '2022-06-10T11:52:03.9959677Z', 'details': ['Error 14: 48043'], 'data': None}", url=URL('https://api.nibeuplink.com/api/v1/systems/XXXXXX/parameters')

Guidance would be appreciated

sami-one avatar Jun 10 '22 12:06 sami-one