Getting started
-
Hi!
I managed to get the node to work by rebooting everything. Maybe the controller and gateway must be alive before the sensor send its presentation?
But thanks for the help anyway!
I'm exited to start building my homeautomation now that I have all the connection working from end to end.
The first task is to replace my room thermostats with intelligent ones but I think I'll continue it in a different topic.
Mikko
-
Hi!
I managed to get the node to work by rebooting everything. Maybe the controller and gateway must be alive before the sensor send its presentation?
But thanks for the help anyway!
I'm exited to start building my homeautomation now that I have all the connection working from end to end.
The first task is to replace my room thermostats with intelligent ones but I think I'll continue it in a different topic.
Mikko
Yes, the controller and gateway needs to be running the first time your present a node and sensor.
You also might want to look into the power supply and stability of your gateway, since it seemed to reboot when it sent the request for new presentation.
-
Yes, the controller and gateway needs to be running the first time your present a node and sensor.
You also might want to look into the power supply and stability of your gateway, since it seemed to reboot when it sent the request for new presentation.
@martinhjelmare The gateway (Uno) is powered from the USB port of the RPi3 which runs Home Assistant. Should I use a external power supply?
-
@martinhjelmare The gateway (Uno) is powered from the USB port of the RPi3 which runs Home Assistant. Should I use a external power supply?
Yes, I would recommend that. From personal experience computer usb powered unos are unstable. Make sure you have a capacitor close to the radio, as recommended in the radio guide on the mysensors site, too.
-
Yes, I would recommend that. From personal experience computer usb powered unos are unstable. Make sure you have a capacitor close to the radio, as recommended in the radio guide on the mysensors site, too.
@martinhjelmare ok, I'll get a proper power supply. I have a capasitor welded to the radio module. The gateway has the model with the stick antenna.
I have tried how far the demo sensor node works (it has the std module with the antenna on the PCB) and it works anywhere in my 3 story house.
But when I moved it to a building next to my house it didn't work. The distance was maybe 40m.Should I experiment with the setting #define MY_RF24_PA_LEVEL ?
What does this require from the HW? -
@martinhjelmare ok, I'll get a proper power supply. I have a capasitor welded to the radio module. The gateway has the model with the stick antenna.
I have tried how far the demo sensor node works (it has the std module with the antenna on the PCB) and it works anywhere in my 3 story house.
But when I moved it to a building next to my house it didn't work. The distance was maybe 40m.Should I experiment with the setting #define MY_RF24_PA_LEVEL ?
What does this require from the HW? -
You can of course try pa level max. It might help. As @gohan said, the pa/lna version would also help in this situation. You can also try directional antenna yagi to maximise power in the direction you want it to go (fairly cheap on ebay).
What is between the buildings? 40m of free space?
Also think about using the 5V power from the uno and going via a buck converter (or any linear or switching voltage regulator) down to 3.3v - the arduino 3.3v supply is notorious for being 'noisy'..
-
You can of course try pa level max. It might help. As @gohan said, the pa/lna version would also help in this situation. You can also try directional antenna yagi to maximise power in the direction you want it to go (fairly cheap on ebay).
What is between the buildings? 40m of free space?
Also think about using the 5V power from the uno and going via a buck converter (or any linear or switching voltage regulator) down to 3.3v - the arduino 3.3v supply is notorious for being 'noisy'..
@skywatch There is maybe 30m between the buildings and the gateway is on the other side of my house so 10m of indoor space and lots of walls...
Yes the gateway has the PA LNA version. I guess it's ok to mix these?
I'm taking 5V from the UNO to RF module via this adapter: https://www.aliexpress.com/item/New-Socket-Adapter-plate-Board-for-8Pin-NRF24L01-Wireless-Transceive-module-51/32655936568.html?spm=a2g0s.9042311.0.0.IAzDGk
I'm planning to maybe place a couple of nodes to the outside wall of my house so maybe using these as repeaters might solve the problem..
At the moment I only have one PA LNA version but I'm about to place an order this weekend.
-
Here are the directional antenna yagi arrays. You need one each end for best range and they need to be able to 'see' each other (no metal buildings in the way)
Wiht two of these and 2 pa/lna boards you should get many km in open space!!!
hth
-
My intention was for @minsa to use this only for the long range link, the receiving pro=mini could be a gw for the garage sensor(s). Everything else would remian the same.
-
@skywatch So I would have 2 gateways? One for indoor sensors and one for outdoor sensors?
Would it be possible to have NRF24 and RFM69 chips on the same gateway?
So I could use the RFM69 with nodes that are farther away?@Misna Look at the Sensebender Gateway...
-
@skywatch So I would have 2 gateways? One for indoor sensors and one for outdoor sensors?
Would it be possible to have NRF24 and RFM69 chips on the same gateway?
So I could use the RFM69 with nodes that are farther away?Adding a gateway means that your current system stays the same and is not changed in any way - so you have time to experiment with the new additions.
I have never used rfm69 so can't say on those, sorry.
I will say that you probably can't have 2 radios on one gw. But it might be possible.
With MyController you can have multiple gateways for the controller and that is what you will need.
As per above, I would just add another pro mini to act as a second gw for the longer range testing as that will not impact on your current setup. -
Adding a gateway means that your current system stays the same and is not changed in any way - so you have time to experiment with the new additions.
I have never used rfm69 so can't say on those, sorry.
I will say that you probably can't have 2 radios on one gw. But it might be possible.
With MyController you can have multiple gateways for the controller and that is what you will need.
As per above, I would just add another pro mini to act as a second gw for the longer range testing as that will not impact on your current setup. -
@skywatch So I would have 2 gateways? One for indoor sensors and one for outdoor sensors?
Would it be possible to have NRF24 and RFM69 chips on the same gateway?
So I could use the RFM69 with nodes that are farther away?@Misna said in Getting started:
stick antenna.
Is it a PA LNA version?
Btw I guess it is normal that a normal nrf24 can't reach between 2 buildings that far. If you can use 2 PA LNA radios it should work betteryou can compile and run 2 different instances of the raspberry gateway in 2 separate folders. There is an openhardware project for a raspberry hat
-
@Misna said in Getting started:
stick antenna.
Is it a PA LNA version?
Btw I guess it is normal that a normal nrf24 can't reach between 2 buildings that far. If you can use 2 PA LNA radios it should work betteryou can compile and run 2 different instances of the raspberry gateway in 2 separate folders. There is an openhardware project for a raspberry hat
-
You can't do it on an arduino. Since you are going to run a controller it could make sense having a raspberry. Running 2 separare instances it would not be a problem for HA as you would have to add the 2 gateways anyway like if they were on separate hw