💬 Building a Raspberry Pi Gateway
-
@jirm The configure script from MySensor repo is based on the https://github.com/TMRh20/RF24/blob/master/configure. Could you try with theTMRh20 master branch and post the result?
git clone https://github.com/TMRh20/RF24.git cd RF24 ./configure make@marceloaqno Sadly I´m so much bussy and traveling for few days and cannot acces to my OPI´s :-( , but I´m sure someone here (@aand , @hausinger, etc.. ) can give a try on her OPI the things we said before. At least I hope this ...
-
@eyesoft thanks for the feedback, we need to add support for SPIDEV driver in order to use the BananaPi.
@marceloaqno I see some huge steps up on BananaPi...seems only need add SPIDEV support for make it working... :-)
-
@marceloaqno I am rather copy/paste not a programming kind a guy, so sorry for my lame questions.
pi@raspberrypi ~ $ git clone https://github.com/mysensors/MySensors.git
fatal: destination path 'MySensors' already exists and is not an empty directorypi@raspberrypi ~/MySensors $ git checkout master
Branch master set up to track remote branch master from origin.
Switched to a new branch 'master'but after that:
pi@raspberrypi ~/MySensors $ make
make: *** No targets specified and no makefile found. Stop.
pi@raspberrypi ~/MySensors $ sudo make install
make: *** No rule to make target 'install'. Stop. -
@Oli First you need delete all Mysensors directory on your machine.
Then use step by step the guide on Mysensors Gateway installation process:
https://www.mysensors.org/build/raspberry
Dont forget put command sudo on sentences if needed.Regards
-
I wanna update not to re install of MySensors. I thought about something like ./updaterelease or ./updatebeta... I spend hours of make it work before, so I leave it as it is. No time or nerves for fighting next couple of days.
@Oli what did you have to do to make it work? It should just be a matter of following the instructions that @jirm linked to.
EDIT: Since you already have the MySensors repo cloned from git, you can update by running
pi@raspberrypi ~/MySensors $ git pullThan run configure, make, etc as per the original instructions.
-
@mfalkvidd I could not find ttyMySensorsGateway on Domoticz. Only ttyUSB0, ttyUSB20 and ttyAMA0. Even after I did ./configure --my-gateway=serial --my-serial-is-pty --my-serial-pty=/dev/ttyMySensorsGateway
-
@mfalkvidd I could not find ttyMySensorsGateway on Domoticz. Only ttyUSB0, ttyUSB20 and ttyAMA0. Even after I did ./configure --my-gateway=serial --my-serial-is-pty --my-serial-pty=/dev/ttyMySensorsGateway
-
I wanna update not to re install of MySensors. I thought about something like ./updaterelease or ./updatebeta... I spend hours of make it work before, so I leave it as it is. No time or nerves for fighting next couple of days.
@Oli I´m thinking is hard to "only" update (changing from develop to master branch) directly from github if the repository is not been previously prepared to do this kind of updates... but maybe I´m wrong.
Will be good you give feedback if you get it.
Cheers
-
@mfalkvidd hah... thats a good question, don't know. After dozen or more reinstallations, spending hours on Google I finally make it work. Got some notes but frankly I am worrying it will happen again. Hahaha
-
@mfalkvidd hah... thats a good question, don't know. After dozen or more reinstallations, spending hours on Google I finally make it work. Got some notes but frankly I am worrying it will happen again. Hahaha
-
@Oli I´m thinking is hard to "only" update (changing from develop to master branch) directly from github if the repository is not been previously prepared to do this kind of updates... but maybe I´m wrong.
Will be good you give feedback if you get it.
Cheers
@Oli :-) :-)
Good !
I like when people can make something work that nobody even knows what it is :-)For me it usually happens just the opposite I am not able to make work even the things I know perfectly well ... maybe it will be a matter of "bad karma" :-)
-
OK, I did it, I f....g did it, and guess what...
s...t happened again.
Everything went as it should, no errors at all, but no ttyUSBMySensorsGateway...

log error message:
2017-01-03 19:56:38.784 MySensors: Using serial port: /dev/ttyUSBMySensorsGateway
2017-01-03 19:56:38.785 Error: MySensors: Error opening serial port!
2017-01-03 19:56:39.785 MySensors: retrying in 30 seconds...and again...
and again...
...any help would be appreciated.
-
Hello,
Could someone answer: if i have RPi NRF24 GW, how I could connect MYSController from other computer (for example from Windows computer)?
- Is it possible to make that type connection with RPi NRF24 GW?
- May I use some integrated web server for this type of connection in RPi to make it work? Is there are easier solutions?
EDIT: no matter, already answered it by myself :)
Its easy becose it's like Ethernet GW. -
OK, I did it, I f....g did it, and guess what...
s...t happened again.
Everything went as it should, no errors at all, but no ttyUSBMySensorsGateway...

log error message:
2017-01-03 19:56:38.784 MySensors: Using serial port: /dev/ttyUSBMySensorsGateway
2017-01-03 19:56:38.785 Error: MySensors: Error opening serial port!
2017-01-03 19:56:39.785 MySensors: retrying in 30 seconds...and again...
and again...
...any help would be appreciated.
@Oli: when you do a "ls /dev" is ttyUSBMySensorsGateway shown ?
-
@Oli: when you do a "ls /dev" is ttyUSBMySensorsGateway shown ?
@Oli: by the way, the name of the port you used is ttyMySensorsGateway, not ttyUSBMySensorsGateway:
@mfalkvidd I could not find ttyMySensorsGateway on Domoticz. Only ttyUSB0, ttyUSB20 and ttyAMA0. Even after I did ./configure --my-gateway=serial --my-serial-is-pty --my-serial-pty=/dev/ttyMySensorsGateway
Is the gateway running, ie, "ps -ef "grep my" shows a process there ?
Cheers,
Luiz
-
@Oli: by the way, the name of the port you used is ttyMySensorsGateway, not ttyUSBMySensorsGateway:
@mfalkvidd I could not find ttyMySensorsGateway on Domoticz. Only ttyUSB0, ttyUSB20 and ttyAMA0. Even after I did ./configure --my-gateway=serial --my-serial-is-pty --my-serial-pty=/dev/ttyMySensorsGateway
Is the gateway running, ie, "ps -ef "grep my" shows a process there ?
Cheers,
Luiz
@Oli: sorry, correct syntax is ps -ef | grep my