karlik wrote:Hi, Ive been using this plugin and it seems to receive only one activity "sensor activity" at a time so if two sensors detect movement in the exact moment then can happen that I miss one of them in EG
I want to use my sensors activity (movement and open/close) according to different conditions like time of the day so if is late in the night (between 23h - 6h) I want the light to turn only 30%, therefore I dont have the sensor linked to the light module but controlled directly from EG
I appreciate if you could share a version of this plugin that solves this (if available) or guide me to accomplish it. pd: Im a newbie with poor programming background.
This plugin doesn't have a buffer to handle new commands while a current command is executing. The Insteon PLM uses a serial interface to push data to the client (EG in this case). So if two insteon messages are sent over the bus to close together then one or both of the messages can be missed. In the case of insteon sensors, they send the broadcast message twice back to back which causes issues too. The other issue is when you send a message using EG to your insteon network, insteon immediately responds back which can cause the plugin to miss any incoming messages or cause the insteon PLM to ignore your message you just sent.
I do have a modified version (I don't recall if it's the one i uploaded or not) of this plugin to help medicate this problem as much as possible but it is not perfect. In my case i have 8 motion sensors, many keypadlincs, switchlincs, and other insteon devices that are always firing all day and i hardly ever get a missed message at this point. With that said, i am planning on writing a new plugin that does have a buffer and handles commands a little differently to make it much more reliable. At the moment i don't know when i'll have this completed.
i am actually doing something similar to what you are wanting to do with the motion sensors and turning a light on to a certain level based on time. I do that but also change the timeout time in which a light stays on, and also use the keypadlincs to allow me to temporarily disable the motion sensors too keep lights on or off. This was done by writing snippets of code though.
if you would like to try my version of the plugin, let me know and i'll upload it. Otherwise i hope to have the new plugin within a month or two.