Hey.
I need a simple python script that I wondered if anyone could help me with.
I use eventghost to controll a tellstick Duo, but actually uses homeseer as the main program for my home automation
I have therefore set up a XAP-XPL server that sends messages from homeseer to eventpro so i can control the tellstick in eventpro from homeseer.
Works very well with devices that only have on/off, but need a script for the units that can be dimmed.
The problem is that the tellstick-plugin in eventghost is not able to retrieve a dimvalue from the XPL message from homeseer, and dim to that level. Its only possible to make events i eventghost with a preset dimvalue.
I would be possible to make an event for each dimvalue, but this would take to much time (100 events for each device).
Here is an example of a "dim" message from homeseer to eventghost!
xPL.XPL-TRIG: {: MI4-homeseer.computer_1.Master: *: Event = Dim, Count = 60, Device = C1,
(here homeseer tells eventpro to dim Device C1 to 60%)
Can anybody help me with a script to do this in eventghost, so that the unit be dimmed to the level it receives from homeseer?
Phytonscript to recive a dimvalue in eventghost.
Moderator: Telldus
-
- Posts: 7
- Joined: Fri Mar 17, 2023 9:45 am
Re: Phytonscript to recive a dimvalue in eventghost.
Hi there,
Mind giving a few pointers as to how you got HomeSeer to talk xPL? That's just what I need to get HomeSeer to control my tellstick through Eventghost.. I have no idea where to start, I can't find an xPL-plugin for homeseer.
Mind giving a few pointers as to how you got HomeSeer to talk xPL? That's just what I need to get HomeSeer to control my tellstick through Eventghost.. I have no idea where to start, I can't find an xPL-plugin for homeseer.
Följ mitt projekt hemma [url=http://smarthem.blogg.se]HÄR![/url] (http://smarthem.blogg.se)