Post by esa on Mar 15, 2015 15:32:54 GMT
Dear,
I'm not able to send or receive data with the RPI Gateway.
I don't know how to debug the system.
A little advice would be fine.
I have done the following :
1) Install Mosquitto 1.4 on the PI.
When I run it it seems fine :
2) installed and ran the gateway : HomeAutomation
Must I see something here when I receive data from a node?
3) I use a node to transmit data periodically: found here
I check the node with a gateway sketch from LowPowerLab (I downloaded it on an Anarduino) and I received the data string.
But, If I set the same gateway adress (I power of the Arduino Gateway) I don't receive data.
I also try with another "test gateway" found here and I receive nothing.
4) No Data Send with PiGateway
Then, I modified the gateway as a node adress 11 to send data to the Arduino Gateway.
But, I don't receive data on the gateway.
I have done the following test :
Where is my mistake?
Question :
Thank
I'm not able to send or receive data with the RPI Gateway.
I don't know how to debug the system.
A little advice would be fine.
I have done the following :
1) Install Mosquitto 1.4 on the PI.
When I run it it seems fine :
root@(none):/etc/mosquitto# mosquitto -c /etc/mosquitto/mosquitto.conf
1426432545: mosquitto version 1.4 (build date 2015-03-15 11:02:37+0000) starting
1426432545: Config loaded from /etc/mosquitto/mosquitto.conf.
1426432545: Opening ipv4 listen socket on port 1883.
1426432545: Opening ipv6 listen socket on port 1883.
1426432545: Warning: Address family not supported by protocol
1426432545: Opening websockets listen socket on port 9001.
1426432545: Warning: Mosquitto should not be run as root/administrator
2) installed and ran the gateway : HomeAutomation
insert code hereroot@(none):/home/HomeAutomation/piGateway# sudo ./Gateway
sudo: unable to resolve host new-host
Listening at 433 Mhz...setup complete
Connect succeed
Must I see something here when I receive data from a node?
3) I use a node to transmit data periodically: found here
I check the node with a gateway sketch from LowPowerLab (I downloaded it on an Anarduino) and I received the data string.
But, If I set the same gateway adress (I power of the Arduino Gateway) I don't receive data.
I also try with another "test gateway" found here and I receive nothing.
4) No Data Send with PiGateway
Then, I modified the gateway as a node adress 11 to send data to the Arduino Gateway.
But, I don't receive data on the gateway.
I have done the following test :
- SPI : tested.
- hardware Connection between RPi and RFM69: tested.
- the NetworkID : verified.
- the crypkey : verified
Where is my mistake?
Question :
- How to debug the RFM69CW part of the gatewayPi?
- How can a check the SPI connection with the RFM69? And what data should I receive?
Thank