@gohan said in Connecting the Radio:
@dmonty did you use the shielded radio module?
Yes they are shielded.
I found another way to find optimal sensor location using an on/off loop script as a ping. Start the ping running then move the antenna to find best mount point location.
To find the strongest location it helps to find the weak-signal boundaries where packets are lost, then make sure the antenna is on the inside of the boundary. Move the antenna:
- X+, X-
- Y+, Y-
- Z+, Z-
#!/bin/sh
# Desc: Domoticz ping script to help find optimal location for sensor antenna.
# Auth: Dean Montgomery
# Date: April 21, 2020
# Url of domoticz server.
HOST="http://192.168.0.1:8080"
# ID=14 is device idx of a light switch found on the Divices page of domoticz.
ID=14
while true; do
CMD="${HOST}/json.htm?type=command¶m=switchlight&idx=${ID}&switchcmd="
echo "=== ON ==="
wget -q -O - "${CMD}On"
sleep 1
echo "=== OFF ==="
wget -q -O - "${CMD}Off"
sleep 1
done
It may help to include a dummy ping light switch in all sensor nodes dedicated for this purpose.