Raspberry pi 3 both Gateway and Controller
danalex07 last edited by
is it possible to make my pi3 a gateway for the sensors and also run a controller, all in the same board?
skywatch last edited by skywatch
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.......
jgrieco last edited by
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.
skywatch last edited by
@jgrieco Sorry, I missed this question - do you still need some help?
alowhum last edited by
I always do it this way. Using this: