Update status of switch?

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
burton666
Posts: 85
Joined: Monday 17 August 2015 21:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Update status of switch?

Post by burton666 »

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?
User avatar
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?

Post by gizmocuz »

I think you should use the json api with the 'udevice' command
Quality outlives Quantity!
shkaff
Posts: 16
Joined: Friday 11 December 2015 10:29
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Contact:

Re: Update status of switch?

Post by shkaff »

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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest