I had the same issue when using a CH340 nano clone... I had to get an FTDI based one, then worked without issues. Unlike you, I wasn't able to get my genuine Arduino uno to work with the plugin, even if I resolved the serial port detection.
CaptainZap
@CaptainZap
Best posts made by CaptainZap
-
RE: Vera Plugin does not start inclusion
Latest posts made by CaptainZap
-
RE: Door, Motion and Temperature Sensor
@ThomasDecock No I wasn't, I was able to get the standard dallas temperature working(because I thought the sensors no longer work), but unfortunately my time on this is pretty limited. I hoped I got it working until I go on vacation, but probably will look into it after.
I would appreciate if someone could help with it, I think everyone would. -
RE: Door, Motion and Temperature Sensor
@Moshe-Livne That's not the problem... The previous code had the same pir sensor working, it has a couple of seconds timeout.
At this time I'll take another look at my very first sketch, and remove the repeating part, maybe I can get somewhere...
Looking back 1 year ago this was a nice idea, however I've put more time than I would have hoped for into it and I still don't have something that I can call reliable. I know this is a labor of love, and not perfect in any way, I just expected it to be a bit easier to do... -
RE: Door, Motion and Temperature Sensor
@BulldogLowell I just managed to test this and I have some questions :
- Motion doesn't seem to work that great - meaning that it takes at least one minute after being untripped to be tripped again
- Door/window doesn't seem to work - I think I have to add this part, but I'm a bit overwhelmed
- Temperature starts with temperature of -127C and doesn't update at all (I held my finger on it for 2 minutes) plus I think I need something to avoid -127 temps, like :
if (lastTemperature != tempC && tempC != -127.00)
For your info I used these pins to connect my sensors :
const int PIR_PIN = 3; - PIR sensor const int INTERRUPT = 4; - Door/Window const int DALLAS_PIN = 5; - Temperature sensor [...] unsigned long readTempInterval = 1 * 60 * 1000UL; - modified read interval to 1 minute for testing purposes
Also I get this output of the serial monitor once I compile and upload the sketch to my nano after 2 minutes and multiple tries to trip PIR sensor :
sensor started, id 2 send: 2-2-0-0 s=255,c=0,t=17,pt=0,l=5,st=ok:1.4.1 send: 2-2-0-0 s=255,c=3,t=6,pt=1,l=1,st=ok:0 send: 2-2-0-0 s=255,c=3,t=11,pt=0,l=12,st=ok:Multi-Sensor send: 2-2-0-0 s=255,c=3,t=12,pt=0,l=8,st=ok:1.0alpha send: 2-2-0-0 s=1,c=0,t=1,pt=0,l=0,st=ok: send: 2-2-0-0 s=2,c=0,t=6,pt=0,l=0,st=ok: send: 2-2-0-0 s=2,c=1,t=0,pt=2,l=2,st=ok:-127 Tripped send: 2-2-0-0 s=1,c=1,t=16,pt=2,l=2,st=ok:1 Not Tripped send: 2-2-0-0 s=1,c=1,t=16,pt=2,l=2,st=ok:0 Tripped send: 2-2-0-0 s=1,c=1,t=16,pt=2,l=2,st=ok:1
I would appreciate any help I can get to get this started... this project has been on hold for at least 1 year and I would like to implement it now since I have all the parts I need, including 5 cases for the motion detectors (I will need to have at least two variations for them). My focus right now is getting a working sketch, with repeating functions or not, I can place repeaters if needed that is not a problem.
-
RE: Door, Motion and Temperature Sensor
@BulldogLowell Thanks, I'll try it tonight once I get home.
-
RE: Door, Motion and Temperature Sensor
@BulldogLowell Temperature isn't working, and is never updated on the Vera interface
-
RE: Door, Motion and Temperature Sensor
@petoulachi @BulldogLowell Glad to hear there is some progress, in regards to my issue and hopefully this is step in the right direction. I'm positive that we're not alone in our need to create multisensors, both powered and battery operated, as arduinos offer too many possibilities to limit yourself to just a single type of device
-
RE: Door, Motion and Temperature Sensor
@Moshe-Livne @m26872 : I did clear the eprom, I've tried everything I could think of... I'm not quite sure if the repeater works, so far everything is at the breadboard state, so I was pretty much prototyping.
-
RE: Door, Motion and Temperature Sensor
Well since nobody knew what the problem is I thought I would re-flash my first sketch which was working properly... however after doing it it no longer works... this is blowing my mind away. I don't understand why that would be, as the only changes I've done are listed in this thread, major one was that I upgraded lib to 1.4.1 from 1.4. Anyone has any ideas cause this is driving me crazy now
-
RE: Door, Motion and Temperature Sensor
@Dwalt said:
@CaptainZap It your sketch you have this line:
#define ONE_WIRE_BUS 14What pin is your Dallas sensor connected to?
One sensor is connected to A0(14) the other is connected to D5 as it can be seen in my last sketch. Temperature reporting worked on, in my original sketch, however the sketch wasn't perfect so I improved it based on feedback.
@m26872 The sensor is on a breadboard 5cm from the gateway, and I'm not sure about the repeater part...
-
RE: Door, Motion and Temperature Sensor
@Dwalt @m26872 Thanks for the feedback, I did do that on the Vera unit. I've even removed the plugin files and re-did everything. I even, and this is a bit extreme, cleared the eprom on the gateway and reflashed it. None of it worked, I really have no clue what to do next. I'm open to every suggestion