Cant add Mysensors-Node to IOT-Server

8 years 7 months ago #3243 by Christian
Hi everyone,

after debugging the whole night whith a friend, we have no idea to find our failure.

The raspberry cant find a mysensors humidity-sensor in the network. We connectet the NRF24L01+ to the
Raspi and to an arduino as you can see in the EasyIoT-Tutorial.

We checked the wiring, the fr24 channels (even with other channels), cleared the eproms a few times and we soldered 1000nF capacitors to
the nrfs.
The radio ID in the config.h file ends with "LL". We added that to the Mysensors-driver at the server and an other time we deleted
the "LL" in both directions.

Were is our Mistake?

Here are the Debug messages:
pi@raspberrypi:~ $ cd /home/easyiot
pi@raspberrypi:/home/easyiot $ sudo mono EasyIoT.exe
2016-04-23T03:31:03.3594860+00:00	INFO	System				System started
Apr 23 03:31:04  Web service started
Apr 23 03:31:05  Listening on port(s):80, 1301
2016-04-23T03:31:05.2967330+00:00	DEBUG	MySensors				MySensors Connect
================ SPI Configuration ================
CSN Pin  	 = CE0 (PI Hardware Driven)
CE Pin  	 = Custom GPIO25
Clock Speed	 = 8 Mhz
================ NRF Configuration ================
STATUS		 = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
RX_ADDR_P0-1	 = 0xa8a8e1fc00 0xa8a8e1fc00
RX_ADDR_P2-5	 = 0xff 0xc4 0xc5 0xc6
TX_ADDR		 = 0xe7e7e7e7e7
RX_PW_P0-6	 = 0x20 0x20 0x20 0x00 0x00 0x00
EN_AA		 = 0x3b
EN_RXADDR	 = 0x06
RF_CH		 = 0x14
RF_SETUP	 = 0x25
CONFIG		 = 0x0e
DYNPD/FEATURE	 = 0x3f 0x06
Data Rate	 = 250KBPS
Model		 = nRF24L01+
CRC Length	 = 16 bits
PA Power	 = PA_HIGH
2016-04-23T03:31:05.4121200+00:00	DEBUG	MySensors				Mysensors Start driver.
2016-04-23T03:31:05.5722320+00:00	INFO	RPiGPIO	Pin_P1_07	Sensor.DigitalValue	1	-
2016-04-23T03:31:05.5853890+00:00	INFO	RPiGPIO	Pin_P1_08	Sensor.DigitalValue	0	-
2016-04-23T03:31:05.5900330+00:00	INFO	RPiGPIO	Pin_P1_11	Sensor.DigitalValue	0	-
2016-04-23T03:31:05.6164730+00:00	DEBUG	Esp8266				ESP8266 Connect
2016-04-23T03:31:05.6238820+00:00	DEBUG	Esp8266				Server Started



Arduino Serial Monitor
find parent
send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
sensor started, id=255, parent=255, distance=255
find parent
send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
find parent
send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
find parent
send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
find parent
send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:

Please Log in or Create an account to join the conversation.

8 years 7 months ago #3263 by Boaz101
Did you set the channel in easyiot and the nrf to the same channel?

Please Log in or Create an account to join the conversation.

8 years 7 months ago #3264 by Christian
Jes, i did. They were arount 70 and i also set them both to 20 or 100.
Is it possible, that the 1.5. Mysensors Library or this Humidity/Temperature skectch is not supportet by easyIoT?
I only read, that 1.4. is supported.

Greetings

Please Log in or Create an account to join the conversation.

8 years 6 months ago #3345 by Boaz101
It could be the problem. I've had good success starting with the code on this site and modifying it. I would start with an example sketch, get it working first, and modify it.

Please Log in or Create an account to join the conversation.

Time to create page: 0.226 seconds

Forum latest

  • No posts to display.