Page 16 of 16

Re: MySensors - Gateway to Domoticz

Posted: Sunday 23 October 2016 13:40
by alexsh1
franzelare wrote:did anyone try to run the gateway directly on a raspberry pi? instead of a serial or ethernet gateway to domoticz on an arduino?
https://www.mysensors.org/build/raspberry
Yes, I have it running on my testing RPi3 for a month now. It works fine. There are some features which have not been implemented yet though.
- MQTT GW
- Signing

If you are after a simple GW, go for it - it works.
I am using nrf24l01+ PA with the following adapter board - https://www.openhardware.io/view/17/Ras ... r-NRF24L01

Re: MySensors - Gateway to Domoticz

Posted: Sunday 23 October 2016 14:22
by franzelare
edit: found it, just as an fixed USB device....

Re: MySensors - Gateway to Domoticz

Posted: Friday 28 October 2016 14:00
by franzelare
hmm, seems not to work...
when I hook up the radio to the correct pins and install the software, should I change anything on the example_linux/mysGateway.cpp before I make the build?

Re: MySensors - Gateway to Domoticz

Posted: Friday 18 November 2016 14:11
by Jan Jansen
Hi,

I want to make a start with Mysensors. My Domoticz runs on a Rpi B rev 2.0, the two USB ports are already occupied. Spi is also busy (2 pifaces).

Is rpi’s UART suitable for connecting a mysensors gateway?

Thanks in advance!

Jan

Re: MySensors - Gateway to Domoticz

Posted: Friday 18 November 2016 14:21
by gizmocuz
You could make an Ethernet gateway

Re: MySensors - Gateway to Domoticz

Posted: Friday 18 November 2016 14:37
by Jan Jansen
Hi Gizmocuz,

Thanks for your quick reply!

Conclusion: UART is unsuitable (Is that correct?)

Jan

Re: MySensors - Gateway to Domoticz

Posted: Friday 18 November 2016 14:56
by gizmocuz
https://www.mysensors.org/build/raspberry

But an ethernet gateway also gives you some more flexibility where you install it

Re: MySensors - Gateway to Domoticz

Posted: Saturday 26 November 2016 22:42
by alexsh1
Jan Jansen wrote:Hi Gizmocuz,

Thanks for your quick reply!

Conclusion: UART is unsuitable (Is that correct?)

Jan
Jan, it is perfectly suitable - I have a moteino GW running on my RPi3 connected to AMA0 (UART).
However, Gizmocuz is right. The ethernet GW gives more flexibility.

Re: MySensors - Gateway to Domoticz

Posted: Wednesday 07 December 2016 14:33
by Jan Jansen
@alexsh1,

Thanks for your reply. At the moment I do not use Mysensors, I'am a noob at this point. Based on your answer, I conclude that it should be possible to build a gateway with an arduino and RFM69. Am I right?

If so, next steps rpi B:
1. connect radio and uno
2. connect UART rpi >> RXD and TXD Arduino
3. enable UART > Modify /boot/cmdline.txt and /etc/inittab
4. what else is needed??


Thanks in advance.

Jan

Re: MySensors - Gateway to Domoticz

Posted: Monday 15 May 2017 9:04
by emme
I'm using a ESP8266 (NodeMCU) gateway with some success :P :P
it is placed on my balcony and works quite good!

Re: MySensors - Gateway to Domoticz

Posted: Thursday 01 June 2017 22:21
by alexsh1
Jan Jansen wrote:@alexsh1,

Thanks for your reply. At the moment I do not use Mysensors, I'am a noob at this point. Based on your answer, I conclude that it should be possible to build a gateway with an arduino and RFM69. Am I right?

If so, next steps rpi B:
1. connect radio and uno
2. connect UART rpi >> RXD and TXD Arduino
3. enable UART > Modify /boot/cmdline.txt and /etc/inittab
4. what else is needed??


Thanks in advance.

Jan
Not much really. The only problem is you may face is with RPi3 - Bluetooth is using try AMA0. You need to swap it with serial0.
Just follow this guide https://raspberrypi.stackexchange.com/q ... pberry-pi3

Re: MySensors - Gateway to Domoticz

Posted: Thursday 01 June 2017 22:29
by alexsh1
@gizmocuz

I have a problem with a few sensors where I have to use
V_VAR / S_CUSTOM. For example, my lightning sensor.
V_VAR cannot be displayed as a device. There is also not a real "custom" device type. Any advice from you as to whether these are going to be implemented at all in Domoticz?

Many thanks
Alex

Re: MySensors - Gateway to Domoticz

Posted: Friday 10 January 2025 14:16
by goblin
I have currently NRF24l10 currently working on my RPI as gateway for Mysensors.
and currently busy to "rebuild" my Domoticz and upgrade it to a RPI4.
i have considered migrating to HA but it is not that appealing as i hoped.
so now i am stuck with adding the NRF24L10 to the RPI connector.
i have 3 choices in domoticz:
1 gateway via USB
2 gateway via LAN
3 gateway via MQTT
currently it is "gateway via LAN" but if i select that i get a error "problem adding hardware"
Mysensors has stopped maintaining his webpage so now i am stuck.
i can vaguely remember that i need to do more but forgot how.
i know its old stuff but mysensors are the most reliable nodes i have.

can someone remember how to add the NRF24L10 gateway via the RPI connector?

thanks

Re: MySensors - Gateway to Domoticz

Posted: Friday 10 January 2025 15:18
by waltervl
goblin wrote: Friday 10 January 2025 14:16 I have currently NRF24l10 currently working on my RPI as gateway for Mysensors.
and currently busy to "rebuild" my Domoticz and upgrade it to a RPI4.
i have considered migrating to HA but it is not that appealing as i hoped.
so now i am stuck with adding the NRF24L10 to the RPI connector.
i have 3 choices in domoticz:
1 gateway via USB
2 gateway via LAN
3 gateway via MQTT
currently it is "gateway via LAN" but if i select that i get a error "problem adding hardware"
Mysensors has stopped maintaining his webpage so now i am stuck.
i can vaguely remember that i need to do more but forgot how.
i know its old stuff but mysensors are the most reliable nodes i have.

can someone remember how to add the NRF24L10 gateway via the RPI connector?

thanks
via web.archive.org the original mysensors website is still viewable:
https://web.archive.org/web/20250101005 ... /raspberry

Re: MySensors - Gateway to Domoticz

Posted: Friday 10 January 2025 19:31
by goblin
thanks walter,
i could not find that page.
have a good year

Re: MySensors - Gateway to Domoticz

Posted: Friday 24 January 2025 15:35
by goblin
So a few days later:
try to start mysgw but " sudo: ./bin/mysgw: command not found" is a unwanted response

during make i get the following error (and some warnings)

hal/architecture/Linux/drivers/core/interrupt.cpp:33:10: fatal error: stropts.h:
No such file or directory 33 | #include <stropts.h>
| ^~~~~~~~~~~
compilation terminated.

anny idea what i am missing

Re: MySensors - Gateway to Domoticz

Posted: Friday 24 January 2025 15:38
by waltervl

Re: MySensors - Gateway to Domoticz

Posted: Friday 24 January 2025 17:21
by goblin
Thanks,
but i am not skilled enough to do that,

Re: MySensors - Gateway to Domoticz

Posted: Friday 24 January 2025 17:47
by waltervl
Try building on the development sources, there the fix has been done: https://www.mysensors.org/download
By the way, the website is online again.....