Hi developer Team,
thanks for your great work. I am using homegear on pi together with a homematic device from contronics called “CL Box”.
This box fires a clock-event like “UHR=07:55:55” every 5 seconds. I use it as a watchdog to monitor the state.
Is there a similar function in homegear available ?
Thanks in advance
Hi developer Team,
there is, you can add a timed event (with the RPC function addEvent), which fires every 5 seconds. Through that you could for example set a system variable (using setSystemVariable). The change is then sent as an RPC event to all clients.
How exactly do you intend to monitor the RPI? Maybe I can give you more specific information. The clock event doesn’t have to be transmitted through RPC events. You can send packets in pretty much any format, open URLs with GET data, …
sorry for my late answer.
I don’t know exactly how to define a timed event currently, but I will find it.
I wrote a nodejs application to manage different concurrent multiple Input sources like clbox and homegear.
The idea is to become Independently from commercial products and be able to bring different Technologies togehther.
With websockets I report all events to registered Clients (jQuery Mobile Single-Page Application).
I found a similar solution called ccu.io, but i think they don’t support clbox.
I connect clbox by http-Server and homegear by xmlrpc. I want an event from functional appication-level
not system level to monitor all states of all connected appliances. For example I restart the connection after
clbox-configuration changes (Interrupt of clbox-communication).
ok, the mentioned solution should work! “addEvent” is documented here . The alternative would be to ping Homegear using “clientServerInitialized” . If you have any questions regarding the implementation, don’t hesitate to post it .