Hi All
I am new here; just wanted to say I am glad I have stumbled over this site as I am currently working on my PhD project that is aiming to see if a smart home can be used to help improve the independence of adults with autism. I am using openHAB with, at the moment, Insteon to communicate but I have had a number of issues. I am looking for a possible replacement and I thought I would have a go at creating my own sensors. I have a number of Ardunios, 4 Unos, 1 Yun, 1 mega and 2 RPi, 1 A and 1 B. I have just ordered a bunch of NRF24L01+ to see what I can achieve myself rather than using a different system. I need to work out what info I can get from my various bits of kit and see how I can use this info in openHAB but I am looking forward to playing!
Best posts made by mark_venn
-
My PhD Project
-
RE: nano serial gateway behaviour
@mfalkvidd
I have swapped it amd still no good. The one that I swapped with has been working in the past as part of a motion sensor. Bit annoying, going to set another one up with a new capacitor. I don't have any more 4.7, will try a 10, not because I think that is an issue, just because I have to try something and that is the closest to 4.7 i have at the moment. I have a new bag on the way from HK. Will let you know what happens! -
RE: openHAB binding
@hek @bkl
Just want to say a REAL BIG THANKS for this binding and for the whole mysensors system.I have been trying to use openhab 1.8 for my PhD project and I initially setup insteon and had so many headaches I gave up in disgust. I was pointed in the direction of mysensors as a possibility and I thought I had nothing to lose.
Not only is the binding a success, I have two motion sensors running, one on a pro mini with 2xAA batteries running it as a test and one on a uno, I have persistence running and successfully logging the status of my devices on each and every update! I am using mongodb for the persistence methods as I love nosql, even though I have to teach relational databases at the moment, (trying to turn the Uni onto the light side).Anyway, for those interested, here is a log from the db:
{
"_id" : ObjectId("574acbe1e4b0cd9ed18ada26"),
"item" : "DiningRoom",
"realName" : "DiningRoom",
"timestamp" : ISODate("2016-05-29T11:00:49.761Z"),
"value" : "ON"
}
{
"_id" : ObjectId("574acbe3e4b0cd9ed18ada27"),
"item" : "DiningRoom",
"realName" : "DiningRoom",
"timestamp" : ISODate("2016-05-29T11:00:51.136Z"),
"value" : "OFF"
}
{
"_id" : ObjectId("574acc25e4b0cd9ed18ada2a"),
"item" : "DiningRoom",
"realName" : "DiningRoom",
"timestamp" : ISODate("2016-05-29T11:01:57.823Z"),
"value" : "ON"
}the .items file looks like this, (so you can see the naming strategy)
Switch DiningRoom "DiningSensor [%s]" <motion> (GF_Dining) {mysensors="1;1;V_TRIPPED"}
Switch LivingRoom "LivingSensor [%s]" <motion> (GF_Living) {mysensors="2;1;V_TRIPPED"}.All in a brilliant success. Now to play with the rules and add lots of new sensors.
THANKS AGAIN!!!!! -
RE: Uno as serial gateway? Can it also be a sensor node?
Thanks @hek Downloading now!
-
RE: nano serial gateway behaviour
Well, it is working with a new nrf with a 10 uf cap soldered on. Can't understand why swapping for a known good one didn't work but puting in a new one did. The annoyances of building your own stuff I suppose. I will use the original one in something else and see if I can persuade it to work.
-
RE: Where do I set the sensor ID?
@mfalkvidd
Thanks! I have now set a value of 1 and lo and behold sensor 1 is now talking to the gateway. I vaguely remeber testing eeprom storing values by using a button that advanced a value by one and then stored it. It must have been this Uno I did it on and I must have hit the button 105 times -
RE: [SOLVED] No communication between node and gateway - NRF24
Are you using a controller? I had the problem with find parent a few days ago. If you are testing with only the gateway you need to manually give the nodes unique node id. In the sensor sketch, look for gw.begin in the setup function. You need to put the ID in as a parameter. I have
gw.begin(NULL,1,true);
to set the sensor value to 1. @mfalkvidd helped me out with this problem today. have a look at
https://forum.mysensors.org/topic/3885/where-do-i-set-the-sensor-id/5
for the thread that I asked about node id in.
Mark