Raspberry pi 3 both Gateway and Controller
-
is it possible to make my pi3 a gateway for the sensors and also run a controller, all in the same board?
-
-
Yes it is possible. I have the NRF24L01+ attached directly to a pi3, with the mysensors gateway and MyController working on the one device. I added a RTC as well and have a neat and compact solution that wasn't possibe even a few years ago!
UPDATE -> [2 nov 2017] I kept getting a lot of crashes with the nrf-on-pi set up and the guys at mycontroller thought this might be the issue. I have now removed the gateway from the pi and instead run it on a 3.3V 8MHz pro-mini linked to the pi by serial interface - So far so good, but early days of testing.......
-
I am trying to implement this exact solution. I am wondering if you have an specifics for how you connected Mysensors gateway code and Mycontroller within the same raspberry pi. Did you set up my sensors as a serial or Ethernet connection just configured Mycontroller to read off of the same port? Or is there a more complicated solution to connecting the two programs locally within the pi? I have tried this approach and cannot get the gateway to go 'up' in the Mycontroller software. I think i may be missing something about how the two programs are connected so even an explanation about how the data is flowing would help me out a ton! Thanks in advance.
-
@jgrieco Sorry, I missed this question - do you still need some help?
-
I always do it this way. Using this:
https://forum.mysensors.org/topic/9696/i-got-a-plug-and-play-nrf24-shield-for-the-pi-on-aliexpress