MyController.org
-
@diggs I was looking into doing the same thing. There are ways to duplicate a serial port using utilities like socat that should work. I was having issues with one side of the redirect disconnecting when there was no data to read. I was thinking of just writing up a quick python utility that would have the features I wanted. ser2net would work well, but it only redirects the port to the network, it doesn't do local redirection.
-
@ericvdb Thank you for your interest with MyController.org. I have created a request for battery percentage. Kindly update your thoughts on this https://github.com/mycontroller-org/mycontroller/issues/14
How often node sends battery percentage?
-
Thank you - This is what I have been looking for. I was getting ready to write my own which I did not have time for. It is simple displays the data that is needed and easy to debug. The other controllers I tried I spent more time debugging because of the bloat. I can not focus on my sensor development.
-
Nice ! Very clean GUI !
I installed this controller on RPI with serial gateway and it works like a charm with two TEMP sensors.
It will be good if you can use the RPI GPIO to connect directly to NRF24 RF module instead on adding the serial gateway ( see http://iot-playground.com ..)
I wish you good luck with this project.
-
Actually, you can add the NRF24 directly to the Raspberry and use it as a gateway at the same time:
http://forum.mysensors.org/topic/1151/tutorial-raspberry-pi-nrf24l01-direct-connection
-
Nice ! Very clean GUI !
I installed this controller on RPI with serial gateway and it works like a charm with two TEMP sensors.
It will be good if you can use the RPI GPIO to connect directly to NRF24 RF module instead on adding the serial gateway ( see http://iot-playground.com ..)
I wish you good luck with this project.
@davidbd said:
It will be good if you can use the RPI GPIO to connect directly to NRF24 RF module instead on adding the serial gateway ( see http://iot-playground.com ..)
Yes, I have plan to implement NRF24l01 directly. I have to learn more about how mysensors gateway is working. Also planing to implement RPI GPIO port access from MyController.org directly
I wish you good luck with this project.
Thank you! @davidbd
-
Actually, you can add the NRF24 directly to the Raspberry and use it as a gateway at the same time:
http://forum.mysensors.org/topic/1151/tutorial-raspberry-pi-nrf24l01-direct-connection
@GertSanders said:
Actually, you can add the NRF24 directly to the Raspberry and use it as a gateway at the same time:
http://forum.mysensors.org/topic/1151/tutorial-raspberry-pi-nrf24l01-direct-connection
Thank you @GertSanders let me have a look. As MyController.org is designed with pure Java language I have to implement with some wrapper or with the help of pi4j module
-
@jkandasa
I used the Raspberry version of Mysensors gateway for software to set up a serial gateway. Then Inadded a symlink link with shorter name so domoticz could see it. If your software can detect the normal ttyMySensorGateway then no need for a symlink.
Hardware toconnect radio and raspberry is simple interconnect with GPIO. Same connections as with wire. I made a little board for it. Link to that is also somewhere on the forum. -
@jkandasa
I used the Raspberry version of Mysensors gateway for software to set up a serial gateway. Then Inadded a symlink link with shorter name so domoticz could see it. If your software can detect the normal ttyMySensorGateway then no need for a symlink.
Hardware toconnect radio and raspberry is simple interconnect with GPIO. Same connections as with wire. I made a little board for it. Link to that is also somewhere on the forum.@GertSanders said:
@jkandasa
I used the Raspberry version of Mysensors gateway for software to set up a serial gateway. Then Inadded a symlink link with shorter name so domoticz could see it. If your software can detect the normal ttyMySensorGateway then no need for a symlink.
Hardware toconnect radio and raspberry is simple interconnect with GPIO. Same connections as with wire. I made a little board for it. Link to that is also somewhere on the forum.@GertSanders This is nice, I guess no need to change anything in MyController software. Let me check this and update you. Thank you.
-
@GertSanders @davidbd Just now I tested https://github.com/mysensors/Raspberry with MyController.org server it is working perfectly. Thank you very much! you guys saved hardware cost and added direct NRF24 support to MyController.org :smiley:
I did all the steps as root user (running MyController.org server also as a root user). Kindly let me know if you face any issues.
Install https://github.com/mysensors/Raspberry and connect NRF24L01+ as mentioned on the page.
Now we have to point-out ttyMySensorsGateway port to MyController.org server via it is configuration file
Stop your MyController server change a line,
File Name: mycontroller/conf/mycontroller.propertiesmcc.serialport.name=/dev/ttyMySensorsGatewayStart your MyController server. That is it :)
-
link to my board:
-
-
-
@GertSanders @davidbd Just now I tested https://github.com/mysensors/Raspberry with MyController.org server it is working perfectly. Thank you very much! you guys saved hardware cost and added direct NRF24 support to MyController.org :smiley:
I did all the steps as root user (running MyController.org server also as a root user). Kindly let me know if you face any issues.
Install https://github.com/mysensors/Raspberry and connect NRF24L01+ as mentioned on the page.
Now we have to point-out ttyMySensorsGateway port to MyController.org server via it is configuration file
Stop your MyController server change a line,
File Name: mycontroller/conf/mycontroller.propertiesmcc.serialport.name=/dev/ttyMySensorsGatewayStart your MyController server. That is it :)
-
@GertSanders @davidbd Just now I tested https://github.com/mysensors/Raspberry with MyController.org server it is working perfectly. Thank you very much! you guys saved hardware cost and added direct NRF24 support to MyController.org :smiley:
I did all the steps as root user (running MyController.org server also as a root user). Kindly let me know if you face any issues.
Install https://github.com/mysensors/Raspberry and connect NRF24L01+ as mentioned on the page.
Now we have to point-out ttyMySensorsGateway port to MyController.org server via it is configuration file
Stop your MyController server change a line,
File Name: mycontroller/conf/mycontroller.propertiesmcc.serialport.name=/dev/ttyMySensorsGatewayStart your MyController server. That is it :)
-
Hi,
I just install the PiGatewaySerial in RPI and run as a daemon but found CPU is almost 100% !
2173 root 20 0 3740 1624 1416 R 98.8 0.4 2:17.91 PiGatewaySerial
@davidbd said:
Hi,
I just install the PiGatewaySerial in RPI and run as a daemon but found CPU is almost 100% !
2173 root 20 0 3740 1624 1416 R 98.8 0.4 2:17.91 PiGatewaySerial
@davidbd I donot face any issue like you said.
root@raspbx:~# ps -p 11415 -o %cpu,%mem,cmd %CPU %MEM CMD 0.0 0.0 /usr/local/sbin/PiGatewaySerial -dI do not have much knowledge on PiGatewaySerial we have a discussion about this topic on http://forum.mysensors.org/topic/1151/tutorial-raspberry-pi-nrf24l01-direct-connection/39
Some people already reported 100% cpu usage. Can you please check and post your query there?
My RPI setup.
root@raspbx:~# uname -a Linux raspbx 3.18.6-v7+ #753 SMP PREEMPT Sun Feb 8 14:53:56 GMT 2015 armv7l GNU/Linux root@raspbx:~# cat /etc/issue Raspbian GNU/Linux 8 \n \l root@raspbx:~# cat /etc/debian_version 8.0RPI Model: Raspberry pi 2 Model B
I ran everything as a root user.
-
My CPU load hardly ever goes over 1%, and that is including a running Domoticz controller in parallel with the serial gateway.
Gert