It had nothing to do with PLEG.
Changing the device variable IgnoreTripTime from 10 to 1 seems to have solved my problem
As far as I can tell this may have to do with some bouncing problem with my sensor design...
It had nothing to do with PLEG.
Changing the device variable IgnoreTripTime from 10 to 1 seems to have solved my problem
As far as I can tell this may have to do with some bouncing problem with my sensor design...
Thanks for your help.
The slow response is due to Vera and PLEG not the sensor.
The log indicated almost an immidiate response. The UI changed about 1 second later. I have defined some lights to turn on by using PLEG and it take about 10 seconds for PLEG to send the z-wave commands. May have to go for the Vera Scenes instead of PLEG to hopefully speed things up.
I have wired my AC doorbell through a optocoupler connected to a sensor built on Arduino Pro Mini. I have built the sensor as shown in the BinarySwitchSensor example. My setup is Vera UI7 with a serial gateway.
The senors shows up on Vera UI. But the status change on the sensor is shown with a delay of several seconds. Any idea whats causing the delay? I dont have this delays on my Z-wave devices.
After moving the 5V feed to the distance sensor from the Arduino VCC, to the 5V output from the LM7805 it seems like it works OK.
Any suggestion on a program to make schematics?
I have built a parking senors based on the excellent project presented on this site. I'm feeding my Arduino Micro with 12 V. From the same source feed the LEDs through a LM7805 to get 5V for the LEDS. When connected to USB all works well. Removing the USB, and only running on my 12V source, the LEDS starts to behave erradic. Its like the distance sesor is sending false values causing the LEDs to light up. Connecting the USB and it all works like a charm.
I have measured all the voltages:
Arduino: 12V from power source to RAW,
Arduino: GND from power source to GND (next to RAW pin)
Distance sensor: 5V from Arduino VCC
Distance sensor: GND from Arduino GND (pin next to pin 2)
LEDs: 5V from LM7805 to LEDS
LEDs: GND from power source GND
Any suggestions on whats wrong or how to proceed?