I can control my wemo leds from wall-switch and from domoticz and it updates the status of the lamp correctly. But I also can control the wemo led from my phone and then ofcourse the status of the light gets wrong and it might show on but the light is actually off.
I can use my raspberry pi to poll the wemo-link for statuses but how can I change the state of the switch icon without actually toggeling it?
Update status of switch?
Moderators: leecollings, remb0
- gizmocuz
- Posts: 2552
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Update status of switch?
I think you should use the json api with the 'udevice' command
Quality outlives Quantity!
-
- Posts: 16
- Joined: Friday 11 December 2015 10:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Contact:
Re: Update status of switch?
Is there a way to make Domoticz perform such the poll requests? Which component or module of Domoticz should be used for?
I understand that I may use cron daemon at Linux level, it could be done from RPi 2 where Domoticz is run. However I guess it would be more logical and elegant to have it done from Domoticz
I understand that I may use cron daemon at Linux level, it could be done from RPi 2 where Domoticz is run. However I guess it would be more logical and elegant to have it done from Domoticz
Who is online
Users browsing this forum: No registered users and 1 guest