Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Possible Vera replacement - Home Assistant
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Possible Vera replacement - Home Assistant
i can slap together a quick and dirty plugin for ya. since the API is already made up it should be pretty simple. so long as the API is functioning properly.
-
holdestmade
- Experienced User
- Posts: 182
- Joined: Thu Dec 04, 2014 2:44 pm
Re: Possible Vera replacement - Home Assistant
Brilliant. Cheers
-
holdestmade
- Experienced User
- Posts: 182
- Joined: Thu Dec 04, 2014 2:44 pm
Re: Possible Vera replacement - Home Assistant
Had a bit of a play with the script you attached and works fine for a while then:
16:49:46 Yeelight bulb LivingRoomTable.Light is not connecting on ip 192.168.1.213.
16:49:46 Removing bulb from being polled
I looked into this and it may be that the bulb will only accept 60 requests per minute before locking them out ?
Cheers
Happy New Year
16:49:46 Yeelight bulb LivingRoomTable.Light is not connecting on ip 192.168.1.213.
16:49:46 Removing bulb from being polled
I looked into this and it may be that the bulb will only accept 60 requests per minute before locking them out ?
Cheers
Happy New Year
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Possible Vera replacement - Home Assistant
well that could be.. I do not know what the limitations of the bulb are..
if that is the case then you will want to set the polling time to something like 1.25 or so.
the reason for the little bit of extra is if you send any commands to the bulb.
Change the line that has self._event.wait(0.15) to self._event.wait(1.25)
see if the problem clears up with that.
if that is the case then you will want to set the polling time to something like 1.25 or so.
the reason for the little bit of extra is if you send any commands to the bulb.
Change the line that has self._event.wait(0.15) to self._event.wait(1.25)
see if the problem clears up with that.
