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

v3 - Missing HeatHub sensor #191

Closed
LewisSpring opened this issue Dec 22, 2021 · 7 comments
Closed

v3 - Missing HeatHub sensor #191

LewisSpring opened this issue Dec 22, 2021 · 7 comments

Comments

@LewisSpring
Copy link

Hello,
Now I've got V3 working, I can't seem to find the HeatHub sensor with the Zigbee channel.
I was hoping to get a connected/disconnected state from it.

These are the only entities I can see from the HeatHub Device.
image

Really liking V3 so far,
Thank you!

@msp1974
Copy link
Collaborator

msp1974 commented Dec 23, 2021

Yes, the hub zigbee sensor was removed in v3 as it didnt really make too much sense. All the devices have a signal sensor which shows zigbee channel, strength plus more. Explain more to me your use case you are trying to solve and more about the connected/disconnected status as i saw this as being more from a device side than the hub side.

Mark

@LewisSpring
Copy link
Author

LewisSpring commented Dec 23, 2021

Hi Mark,
I should have clarified better that I didn't need the Zigbee information, but instead would like a binary sensor that senses if the HeatHub is connected or disconnected to Home Assistant. My use case is a notification to alert if it drops off the network so I can reconnect it. I had issues with it disconnecting for a while - this would have been really helpful before someone helped me create a template.

I can't use a ping sensor for this, as in my HA container pings don't work. I'm not sure how to fix it either.

@msp1974 msp1974 mentioned this issue Dec 23, 2021
@msp1974
Copy link
Collaborator

msp1974 commented Dec 23, 2021

I have pushed an update just now to the integration to fix/update from the feedback. Thinking about your use case, I added some additional attributes to the Heating Operation Mode Sensor. Let me know if this works for you.

image

@LewisSpring
Copy link
Author

I have pushed an update just now to the integration to fix/update from the feedback. Thinking about your use case, I added some additional attributes to the Heating Operation Mode Sensor. Let me know if this works for you.

image

Hello,
That absolutely works.
Thank you very much for doing this.

@msp1974
Copy link
Collaborator

msp1974 commented Dec 23, 2021

Should note, if the integration failed to be able to update from the hub, the last update status will say 'Failed' and the minutes will start to show how long it has been failing (assuming your hub is updating every min or less).

You can add this to a template sensor or even use in an automation to repower your hub if you have it connected to some sort of wifi power plug.

@LewisSpring
Copy link
Author

LewisSpring commented Dec 23, 2021

That works quite well, since I can do
"If the LastUpdateStatus is "Failed" and It's been 5 minutes since last update, send a notification."

Edit: I can just use LastUpdateStatus is "Failed" for 5 minutes instead, same thing.

@msp1974
Copy link
Collaborator

msp1974 commented Dec 23, 2021

Great. Glad this works for you and hopefully others. I have notice my hub drops off the network almost daily for about 5 mins but then comes back on. No idea why it has started doing that but did help me code v3 to handle it well! :-)

Will close this issue if that's ok.

@msp1974 msp1974 closed this as completed Dec 23, 2021
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

2 participants