Mysensors without radio

Moderator: leecollings

Post Reply
febalci
Posts: 331
Joined: Monday 03 July 2017 19:58
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Mysensors without radio

Post by febalci »

Hi all,

I am in the process of making a wired alarm in my house. I collected all wired PIR's and magnetic reed switches to an Arduino Mega. All connections are made to GPIO ports on Arduino. I am trying to connect this to Domoticz which is installed on a raspberry. I have some beginner questions since i am not very familiar with mysensors. Any help appreciated:

1. Can i use the very same Arduino (which most of the GPIOs are connected to sensors with wires) for mysensors serial or ethernet gateway?
2. I have no intention of using the radio, so i will not install any radio component to gateway. Is it OK if i just build the serial or ethernet gateway just by removing the gateway references to radio components as comments?
3. I believe if 1 and 2 are Yes, so that means the very same arduino will be also used as sensor node. Is there any sample sketch for this type of installation?
4. Or do you say "Don't need to use mysensors, go on with domoticz json api calls in your sketch"?

Thanks...
Jan Jansen
Posts: 229
Joined: Wednesday 30 April 2014 20:27
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: The Netherlands
Contact:

Re: Mysensors without radio

Post by Jan Jansen »

tlpeter
Posts: 191
Joined: Wednesday 26 November 2014 18:43
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Mysensors without radio

Post by tlpeter »

You can use the gateway with sensors although i used it only as gateway in the past.
gohan
Posts: 36
Joined: Monday 13 February 2017 23:42
Target OS: Windows
Domoticz version:
Contact:

Re: Mysensors without radio

Post by gohan »

Sure you can use the gateway without radio, just load the default gateway sketch and comment out the defines about the radios, then add the sensors in the code as it was normal node.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest