Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smart Home mode #27

Open
fondberg opened this issue Mar 12, 2019 · 10 comments
Open

Smart Home mode #27

fondberg opened this issue Mar 12, 2019 · 10 comments

Comments

@fondberg
Copy link

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?

@elupus
Copy link
Owner

elupus commented Mar 18, 2019

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

@fondberg
Copy link
Author

I see. Thanks. Does it take any parameters?

@bohtho
Copy link

bohtho commented Mar 20, 2019

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"}

@rostikk80
Copy link

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

@rostikk80
Copy link

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

Bump

@elupus
Copy link
Owner

elupus commented Nov 3, 2019

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

@mthornhill
Copy link

#82

@sami-one
Copy link

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.

@elupus
Copy link
Owner

elupus commented Jun 10, 2022

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

@sami-one
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants