elupus / hass_nibe

Home Assistant Nibe Uplink Integration
183 stars 54 forks source link

Filter Alarm in Hassio? #60

Open f00dagi opened 4 years ago

f00dagi commented 4 years ago

Thanks for a great integration into Home Assistant! It was easy to get started.

My Nibe F750 regularly throws a filter alarm when it is time to clean the filter. Can this in anyway be detected through your integration?

This is not a bug, rather a feature request or simply a question what is doable with your integration?

Thanks!

6CBDB386-7790-4621-A6DA-10759856C640

elupus commented 4 years ago

You don't get a notification when it occurs? We do signal some alarms that way (or intend to). Nibe have hidden some notification behind special deals. So it might not be availability from the API. Check log for error when you have such a note.

f00dagi commented 4 years ago

Thanks for your reply. What ID should I use to get the filter alarm notification? 45001, 47275?

What value should I be looking for to identify the alarm, I cannot find any documentation?

Thanks!

-Daniel

On 3 Feb 2020, at 22:48, Joakim Plate notifications@github.com wrote:



You don't get a notification when it occurs? We do signal some alarms that way (or intend to). Nibe have hidden some notification behind special deals. So it might not be availability from the API. Check log for error when you have such a note.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Felupus%2Fhass_nibe%2Fissues%2F60%3Femail_source%3Dnotifications%26email_token%3DANMGK4UUYRXSHSBOJIHP2Y3RBCGJ3A5CNFSM4KPMR2XKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKVQWSI%23issuecomment-581634889&data=02%7C01%7C%7C8b491d29bd444084c09008d7a8f2c51c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637163632944385540&sdata=GMfoSDGiDh2Oq1xIon83NqqT3qqQCieRMGqL1Mbm4dk%3D&reserved=0, or unsubscribehttps://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FANMGK4QOYFNSC7WTIJ2M4JTRBCGJ3ANCNFSM4KPMR2XA&data=02%7C01%7C%7C8b491d29bd444084c09008d7a8f2c51c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637163632944385540&sdata=FYoW8ZssahqyDnBzZefwx8MrYdWmtwwJhgbDTg9XZfU%3D&reserved=0.

elupus commented 4 years ago

It's not a parameter. Separate service: https://api.nibeuplink.com/docs/v1/Api/GET-api-v1-systems-systemId-notifications_type_active_page_itemsPerPage

elupus commented 4 years ago

In Hass I try to expose that as notifications.

f00dagi commented 4 years ago

Thanks, I have read the documentation via the link but honestly I have no idea where to start to get this working in Home Assistant. Reading IDs like temperatures and current work just fine through the integration but read alarms through notifications seem very different.

Do you have (or can point to) some example code it would be very much appreciated.

elupus commented 4 years ago

First of all. It theoretically should already show up as a notification in Hass. But as I said I've not got any verification on that.

If you want to debug it, you would have to look in this components code. It uses the nibeuplink python project to make API calls to the nibe servers on the above endpoint.

It's not possible from Hass only.

f00dagi commented 4 years ago

It might be that I am too much of a newbie to understand exactly what you are describing and I understand that you dont have time to educate your users but...

In this context, what do you mean by "show up as a notification in hass"? Do you mean as an entity? Is there a service in hass.io that I should use? How do I detect this notification?

elupus commented 4 years ago

Notifications in Hass are stuff like errors and new discovered devices.. I have no idea of you can act on them.

rangulvers commented 3 years ago

The notification within the HASS UI works fine as they should. But it would be nice to have the notification as a separate entity to be able to include it in the automation. E.g It is not working with the mobile notification since the Hass UI notifications are not pushed to the app.

somthing like

Sensor : Nibe Notification -Entitiy : Notification Available --Parameter : ON/OFF -Entity : Notification --Parameter : Notifiaction Test