Opinions on Arduino based cable connection
Posted: Saturday 14 October 2017 14:40
Hi all,
Planning a Domoticz installation on Raspberry Pi. For sensors, i have cabled reed switches and cabled PIRs. What i am planning is to collect all sensor cables to an Arduino Mega IO, and send all switch status from the Arduino to Rpi from ethernet shield. I have no intention of using wireless in any sensors or Domoticz connections. So;
May i get your suggestions on the protocol for the Arduino Mega+ Ethernet Shield to Raspberry Pi connection? Should i use direct JSON calls from arduino to domoticz, or should i use MQTT or anything else? Which would be the more efficient way? As i understand from mysensors, it is mainly for wireless sensors. What would be the way to go for wired sensors?
Planning a Domoticz installation on Raspberry Pi. For sensors, i have cabled reed switches and cabled PIRs. What i am planning is to collect all sensor cables to an Arduino Mega IO, and send all switch status from the Arduino to Rpi from ethernet shield. I have no intention of using wireless in any sensors or Domoticz connections. So;
May i get your suggestions on the protocol for the Arduino Mega+ Ethernet Shield to Raspberry Pi connection? Should i use direct JSON calls from arduino to domoticz, or should i use MQTT or anything else? Which would be the more efficient way? As i understand from mysensors, it is mainly for wireless sensors. What would be the way to go for wired sensors?