MySensors - Gateway to Domoticz

Subforum for the 'MySensors' project.
http://www.mysensors.org/
alexsh1
Posts: 251
Joined: Wednesday 30 September 2015 11:50
Target OS: Raspberry Pi
Domoticz version: 5033
Location: United Kingdom
Contact:

Re: MySensors - Gateway to Domoticz

Post by alexsh1 » Sunday 23 October 2016 13:40

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

franzelare
Posts: 133
Joined: Thursday 19 February 2015 22:48
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: MySensors - Gateway to Domoticz

Post by franzelare » Sunday 23 October 2016 14:22

edit: found it, just as an fixed USB device....

franzelare
Posts: 133
Joined: Thursday 19 February 2015 22:48
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: MySensors - Gateway to Domoticz

Post by franzelare » Friday 28 October 2016 14:00

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?

Jan Jansen
Posts: 151
Joined: Wednesday 30 April 2014 20:27
Target OS: Raspberry Pi
Domoticz version: Stable
Location: The Netherlands
Contact:

Re: MySensors - Gateway to Domoticz

Post by Jan Jansen » Friday 18 November 2016 15:11

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

User avatar
gizmocuz
Posts: 8526
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi
Domoticz version: beta
Location: Top of the world
Contact:

Re: MySensors - Gateway to Domoticz

Post by gizmocuz » Friday 18 November 2016 15:21

You could make an Ethernet gateway
Quality outlives Quantity!

Jan Jansen
Posts: 151
Joined: Wednesday 30 April 2014 20:27
Target OS: Raspberry Pi
Domoticz version: Stable
Location: The Netherlands
Contact:

Re: MySensors - Gateway to Domoticz

Post by Jan Jansen » Friday 18 November 2016 15:37

Hi Gizmocuz,

Thanks for your quick reply!

Conclusion: UART is unsuitable (Is that correct?)

Jan

User avatar
gizmocuz
Posts: 8526
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi
Domoticz version: beta
Location: Top of the world
Contact:

Re: MySensors - Gateway to Domoticz

Post by gizmocuz » Friday 18 November 2016 15:56

https://www.mysensors.org/build/raspberry

But an ethernet gateway also gives you some more flexibility where you install it
Quality outlives Quantity!

alexsh1
Posts: 251
Joined: Wednesday 30 September 2015 11:50
Target OS: Raspberry Pi
Domoticz version: 5033
Location: United Kingdom
Contact:

Re: MySensors - Gateway to Domoticz

Post by alexsh1 » Saturday 26 November 2016 23:42

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.

Jan Jansen
Posts: 151
Joined: Wednesday 30 April 2014 20:27
Target OS: Raspberry Pi
Domoticz version: Stable
Location: The Netherlands
Contact:

Re: MySensors - Gateway to Domoticz

Post by Jan Jansen » Wednesday 07 December 2016 15:33

@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

User avatar
emme
Posts: 644
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: MySensors - Gateway to Domoticz

Post by emme » Monday 15 May 2017 9:04

I'm using a ESP8266 (NodeMCU) gateway with some success :P :P
it is placed on my balcony and works quite good!
That's one small step for a programmer, one giant leap for me!
- - - - -
Raspberry Pi3 + AeonStick G5 + RFXCOMM433 + iRTrans Server + NodeJS
There's no stress in the mess!!

alexsh1
Posts: 251
Joined: Wednesday 30 September 2015 11:50
Target OS: Raspberry Pi
Domoticz version: 5033
Location: United Kingdom
Contact:

Re: MySensors - Gateway to Domoticz

Post by alexsh1 » Thursday 01 June 2017 22:21

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

alexsh1
Posts: 251
Joined: Wednesday 30 September 2015 11:50
Target OS: Raspberry Pi
Domoticz version: 5033
Location: United Kingdom
Contact:

Re: MySensors - Gateway to Domoticz

Post by alexsh1 » Thursday 01 June 2017 22:29

@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

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests