Hi,
Did you get anywhere with this? I would like to build a bluetooth sensor myself but since this is an old thread, I am not really sure if the market has been modernized a little with bluetooth devices..
Thanks!
Hi,
Did you get anywhere with this? I would like to build a bluetooth sensor myself but since this is an old thread, I am not really sure if the market has been modernized a little with bluetooth devices..
Thanks!
Well in the end it was not that hard, I did use DHCP at my server to serve an 'static' ip address, included the correct ip address in the mysensors plugin and tada... It did include a lot or lua reloads and reboots...
@stress-nero said in ESP8266 and Start inclusion doesnt work:
I am having the same issue with RPI 3 ethernet gateway, vera says connected but nothing happens when i hit the pair button, also MYScontroller i see sensor and they talking so i think the gateway and sensors are working.
Got mine working, used the 2.1.1 library and now it works... Finally wireless...
Hi,
Anybody any idea why my ESP8266 start inclusion button doesnt work? The gateway itself is functioning fine! When I try to press the start button when I would like to add sensors, doesnt do anything, I did not try the hardware way by installing a push button, but it should work right? I did use the latest development branch (2.2.0-beta) but no movement at all, as soon as I revert back to my serial gateway, all is fine (luckely)...
If anybody has a bright idea, please let me know!
Thanks you in advance!
Kind regards
Richard
@riochicken said in Imperihome and mysensors distance sensor:
Hi all,
For some reason I cannot see my distance sensor which I created with mysensors help and in combination with my Vera in Imperihome, it's in a seperate 'room' but not showing at all while the other two in the group are showing, anybody any idea how to solve it? Can it be that the sensor is not presented to the vera as a real device? I do see the device in my Vera and it nicely displays the distance... I would like to see this sensor in my imperihome for obvious reasons..
Thanks in advance!
Kind regards
Richard
Nobody any idea? Is nobody using the distance sensor?
Hi all,
I've build a arduino nano with a RGB LED attached to it, I used the code from one of the projects here to be able to switch the RGB LED to 3 colors RED (pin 1) Blue (pin 2) and Green (pin 3), this is working fine by using my Vera, it sees the three buttons I programmed it in to but I want something more... I would like to have the possibility to whenever I click another color, the other one shuts off, so if it's Red and I click Green, Red turns off and Green pops on. A status would also be nice so you can see in the Vera homescreen which color is activated. Is there anyone that can help me out here with this? My programming skills for Arduino are not that perfect, I normally copy the code and alter what I think is needed but in this case I am a little stuck...
Thanks for reading this topic!
Kind regards
Richard
Hi all,
For some reason I cannot see my distance sensor which I created with mysensors help and in combination with my Vera in Imperihome, it's in a seperate 'room' but not showing at all while the other two in the group are showing, anybody any idea how to solve it? Can it be that the sensor is not presented to the vera as a real device? I do see the device in my Vera and it nicely displays the distance... I would like to see this sensor in my imperihome for obvious reasons..
Thanks in advance!
Kind regards
Richard
This one also looks original, but for that price I am not really sure...
thats whai i thought... but, can we operate it with the mysensors library?
So where to find the originals?! If you have a link, please let me know... I will search ebay...
I almost ordered the ones from china, is it an issue that it's going to be a clone?
We could use the code as presented in one of the earlier post by Hek to see if that might work... but first I need to order the modules..
I used a ESP8266WiFi module with a static IP address and that seems to be working fine, but then again, the car needs to be in the neighborhood... Would be nice to have something like a bluetooth module of some kind to detect a bluetooth device such as my phone... gotta keep on dreaming...
Good point, I expect a proximity sensor which can tell if a bluetooth device with a certain hardware address is in the neighborhood to execute certain scenes within the home automation system...
Thanks!!
Re: Bluetooth Proximity Sensor
Hi all,
Is there a way (I know there are a couple of posts out there but none of them seem to be the answer) to create a bluetooth proximity sensor? It would be great if anybody can help me out here....
Thanks!
Kind regards
Richard
@MiKa Thanks Mika, but not that what I am looking for, I would like to use it with a mysensor setup if possible..
It might be a very nice idea to use neopixels with this, a little expensive though when using a lot of LED's but still it's possible to dim them just by using code.. I am afraid I am not able to do that and it was just a small thought...
@mfalkvidd I have no clue how to decode the examples you gave, normally in vb or powershell I would check if a pin would be active if another color was requested so I could turn off the other color but I am a bit lost with the code....
Hi,
Anybody an idea if there is a way to use an Arduino nano as a kind of proximity thing? My idea is to use it in 1) the car 2) a bag so everytime I (or my car) is in the neighborhood of my vera, the alarm shuts down etc... At the moment there is no way of telling Vera if a device comes back online to do some tasks, except when using ping of course, but that is not that accurate, plus my car has a wifi point as well and my phone stays connected to the car instead of connecting to the home wifi...
Just a thought no idea if it can be programmed in the code itself...
Thanks!
Kind regards
Richard
@mfalkvidd : I have directly soldered the LED's to the board, would be a waste of relays.. Thanks I will look into the examples you just gave...
Hi,
First of all Merry Xmas to all of you!
I want to use this sketch with three LEDs to present the status of the alarm at home, so with a multicolored LED I have a green status, a red and a blue status, but I just want one color at a time, is there a way to alter the code a little to make sure that is a color is activated, the other one is turned off?
@mfalkvidd : Cool! So just combine the sketches and go?!?!?!!?!
Thanks!
Hi,
Is there a way to combine this sketch and sensor with the Atmospheric Pressure since they both use the same A4 and A5 connections on the Arduino...
Thanks!
@hek The serial gateway works fine, I'll stick to the serial gateway for as long as it takes... thank you for your help!
@hek ok, will do and will post it as soon as I know something more.. Thanks for your help so far...
@hek Yes it has a CommFailure filed and it is already set to 0..
@hek Could it be that that is causing my gateway not to work? And maybe a newby question but I have no clue how I can enable it...
PS: Thank you for your time to help me out...
@hek It worked before so I guess Yes... I do get the error: WARNING: Spurious .tools folder in 'MySensors' library when using the development version, seen before? It does upload to the Arduino Uno but it is not pingable...
@hek I feel kinda stupid at the moment, I did import the library in the arduino software but did not activate it apparently.. I am now able to ping the gateway with the latest development library but still no luck with the inclusion... I am getting a little frustrated here.. at first (I stepped back to an UNO) I tried it on my local USB port, and because of your comment, I tried it on a separate USB power supply but still no luck... Ow and Yes I am using the UI7 branch, even removed it from my Vera and uploaded it again...
@hek I've just used the latest development version but now I cannot ping the GW at all...
@hek: I tried the developers library as well, but that do any good! After compiling and uploading I couldnt ping at all anymore, after putting back the 2.0 library and compiling I was able to ping it and connect to it via a telnet session on port 5003, the serial output is:
IP: 192.168.1.91
0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSM:RADIO:OK
0;255;3;0;9;TSM:GW MODE
0;255;3;0;9;TSM:READY
So everything seems to be working, until I look at my Vera, the mysensors pictogram is showing a connected to 192.168.1.91 5003 but when you go to settings to include a device, it show the below screenshot. After a while after clicking start it shows the error, cannot send command - communications error....
Hi guys,
I guess I should never have updated my gateway and library to 2.0, the gateway is not functioning anymore although it says in Vera it's connected, but it does not show the lib version, I even pulled out a new Nano to make sure it was not defective, I must oversee something somewhere but I ran out of ideas, I even reuploaded the files to my vera but no luck, last resort is to use the old files and retry... I do remember from the old version you had to enable softspi for a w5100 module in the myconfig.h module but that one is not included anymore in the new w5100ethernet ino... When I enable it in the w5100 ino the device does not work anymore, which seems only logical since other pins are used...
Anybody any ideas?
Thanks in advance!!
Richard
@riochicken said:
@riochicken said:
@korttoma: Normally it would say: device found 0 and if nodes are found it counts as much as it can find, but it doesn't do anything... I checked the serial monitor and that part says that it detects sensors etc so I am not really sure what is going wrong...
0;255;3;0;9;Eth: 0;0;3;0;5;1
0;255;3;0;9;Eth:
0;255;3;0;9;TSP:MSG:READ 4-4-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
0;255;3;0;9;TSP:MSG:BC
0;255;3;0;9;TSP:MSG:FPAR REQ (sender=4)
0;255;3;0;9;TSP:CHKUPL:OK
0;255;3;0;9;TSP:MSG:GWL OK
0;255;3;0;9;TSP:MSG:SEND 0-0-4-4 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=ok:0
0;255;3;0;9;TSP:MSG:READ 4-4-0 s=255,c=3,t=24,pt=1,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:PINGED (ID=4, hops=1)
0;255;3;0;9;!TSP:MSG:SEND 0-0-4-4 s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=fail:1
0;255;3;0;9;TSP:MSG:READ 4-4-0 s=255,c=0,t=17,pt=0,l=5,sg=0:2.0.0
0;255;3;0;9;TSP:MSG:READ 4-4-0 s=255,c=3,t=6,pt=1,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 4-4-0 s=255,c=3,t=11,pt=0,l=18,sg=0:Temperature Sensor
0;255;3;0;9;TSP:MSG:READ 4-4-0 s=255,c=3,t=12,pt=0,l=3,sg=0:1.1
0;255;3;0;9;TSP:MSG:READ 4-4-0 s=0,c=0,t=6,pt=0,l=0,sg=0:
0;255;3;0;9;TSP:MSG:READ 4-4-0 s=255,c=3,t=26,pt=1,l=1,sg=0:2
0;255;3;0;9;!TSP:MSG:SEND 0-0-4-4 s=255,c=3,t=27,pt=1,l=1,sg=0,ft=0,st=fail:1
0;255;3;0;9;TSP:MSG:READ 4-4-0 s=0,c=1,t=0,pt=7,l=5,sg=0:28.1
0;255;3;0;9;TSP:SANCHK:OK
It only seems to be communication not adding a sensor... when I do not click the start inclusion button and just repower the sensor I get the same messages...
@riochicken said:
@korttoma: Normally it would say: device found 0 and if nodes are found it counts as much as it can find, but it doesn't do anything... I checked the serial monitor and that part says that it detects sensors etc so I am not really sure what is going wrong...
0;255;3;0;9;Eth: 0;0;3;0;5;1
0;255;3;0;9;Eth:
0;255;3;0;9;TSP:MSG:READ 4-4-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
0;255;3;0;9;TSP:MSG:BC
0;255;3;0;9;TSP:MSG:FPAR REQ (sender=4)
0;255;3;0;9;TSP:CHKUPL:OK
0;255;3;0;9;TSP:MSG:GWL OK
0;255;3;0;9;TSP:MSG:SEND 0-0-4-4 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=ok:0
0;255;3;0;9;TSP:MSG:READ 4-4-0 s=255,c=3,t=24,pt=1,l=1,sg=0:1
0;255;3;0;9;TSP:MSG:PINGED (ID=4, hops=1)
0;255;3;0;9;!TSP:MSG:SEND 0-0-4-4 s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=fail:1
0;255;3;0;9;TSP:MSG:READ 4-4-0 s=255,c=0,t=17,pt=0,l=5,sg=0:2.0.0
0;255;3;0;9;TSP:MSG:READ 4-4-0 s=255,c=3,t=6,pt=1,l=1,sg=0:0
0;255;3;0;9;TSP:MSG:READ 4-4-0 s=255,c=3,t=11,pt=0,l=18,sg=0:Temperature Sensor
0;255;3;0;9;TSP:MSG:READ 4-4-0 s=255,c=3,t=12,pt=0,l=3,sg=0:1.1
0;255;3;0;9;TSP:MSG:READ 4-4-0 s=0,c=0,t=6,pt=0,l=0,sg=0:
0;255;3;0;9;TSP:MSG:READ 4-4-0 s=255,c=3,t=26,pt=1,l=1,sg=0:2
0;255;3;0;9;!TSP:MSG:SEND 0-0-4-4 s=255,c=3,t=27,pt=1,l=1,sg=0,ft=0,st=fail:1
0;255;3;0;9;TSP:MSG:READ 4-4-0 s=0,c=1,t=0,pt=7,l=5,sg=0:28.1
0;255;3;0;9;TSP:SANCHK:OK
@korttoma: Normally it would say: device found 0 and if nodes are found it counts as much as it can find, but it doesn't do anything... I checked the serial monitor and that part says that it detects sensors etc so I am not really sure what is going wrong...
Sound logical, thanks... I just upgraded my gateway but now it is not responding to the Vera for some other reason, I can ping and open port 5003 on telnet but when I click start inclusion it doesnt do anything... weird... maybe recreate the mysensors device?!
Thank you for your answer...
It did work! So I think I will try to use the old library files for the Arduino software, hopefully the Temperature software still works for the old library...
Hi,
For some reason new sensors are not found in my network anymore, I have version 1.5.5 (I think) of the library in my Vera and used the latest MySensors 2.0 libraries within the Arduino software. After building a new Nano Pro with Temperature sensors, they don't seem to be found by the network?!? Is there a newer version of the Vera we should know about? I can't find the current version of the Vera Library on the site, that might be an idea to publish somewhere (if not already published, then again: where could it be?!)..
Kind regards
Richard
Excellent hack, works like a charm! I added two extra activations for my doorbell so it rings two times short and one longer time... Is there a way to create a variable in the Vera options so you can change the number of time the relay activates? Now I added them in the code but that is not really handy when the thing is build in and such...
Thanks!
Hi,
Whenever I now try to use the wait function, I get a error: 'wait' was not declared in this scope and somewhere on the forum is stated that we should rather use a wait instead of the sleep function, but again, using which library?!
Thanks!
Kind regards
Richard
Never mind, I didnt know I had to enable both switches within the arduino interface... ahum..
Thanks anyhoe!
Kind regards
Richard
Thanks for the code! For some reason it is not functioning on my arduino pro, the relay doesnt do anything when I push the button on pin 3, I do see within the Vera that the button is being pushed I have no clue what is going wrong..
This is the output from the serial monitor:
send: 16-16-0-0 s=255,c=3,t=15,pt=2,l=2,sg=0,st=ok:0
send: 16-16-0-0 s=255,c=0,t=17,pt=0,l=5,sg=0,st=ok:1.5.3
send: 16-16-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,st=ok:0
sensor started, id=16, parent=0, distance=1
send: 16-16-0-0 s=255,c=3,t=11,pt=0,l=16,sg=0,st=ok:Doorbell Monitor
send: 16-16-0-0 s=255,c=3,t=12,pt=0,l=3,sg=0,st=ok:1.0
send: 16-16-0-0 s=1,c=0,t=3,pt=0,l=0,sg=0,st=ok:
send: 16-16-0-0 s=0,c=0,t=1,pt=0,l=0,sg=0,st=ok:
Pushing button
send: 16-16-0-0 s=0,c=1,t=16,pt=1,l=1,sg=0,st=ok:1
send: 16-16-0-0 s=0,c=1,t=16,pt=1,l=1,sg=0,st=ok:0
Pushing button
send: 16-16-0-0 s=0,c=1,t=16,pt=1,l=1,sg=0,st=ok:1
send: 16-16-0-0 s=0,c=1,t=16,pt=1,l=1,sg=0,st=ok:0
Anybody that can help me out?
Thanks!
Kind regards,
Richard
Hi,
Would it be an idea to include a SMS system to send SMS's whenever the Internet connection is gone?! I know there are some SMS shields for the Arduino, so the combo would be great in my opinion... last Saturday I had a power down on my electricity and luckely I was at home, but it would be nice to get notified via a SMS since my aquarium also stopped working and that part is kinda tricky, a UPS is nice but not sufficient over a longer period of time so manual steps are needed...
Thanks!
Kind regards,
Richard