@andriej I have managed to get a MySensor DHT11 sensor reporting consistently in Domoticz, via the Ethernet option. My next steps are to try a couple of other sensor types (eg distance, switches) and multiple sensors on one arduino node. After a first look at how the Serial and Ethernet options have been done in Domoticz, it looks to me like MQTT might also provide a third 'transport' option for integrating MySensors, with some development. I will be building my knowledge across MySensors and Domoticz over the coming week or two, so might be able to contribute to integration development in the future.
Posts made by markb
RE: Domoticz full integration
MQTT Gateway compile error
Hi, I have received the following compile error for the MQTTGateway sketch:
Arduino: 1.0.6 (Windows 7), Board: "Arduino Uno"
In file included from C:\Program Files (x86)\arduino-1.0.6\libraries\MySensors/MySensor.h:28,
C:\Program Files (x86)\arduino-1.0.6\libraries\MySensors/utility/RF24.h:51: error: ISO C++ forbids declaration of 'SoftSPI' with no type
C:\Program Files (x86)\arduino-1.0.6\libraries\MySensors/utility/RF24.h:51: error: expected ';' before '<' token
MQTT Gateway is being built on an Arduino Uno (R3) with Ethernet Shield (R3), using Arduino IDE 1.0.6. I have another Arduino Uno (R2) running as a node with a DHT sensor attached.
I have successfully established a Serial Gateway to read the sensor data. I subsequently established a working Ethernet Gateway.
Now I've progressed to attempting to establish an MQTT Gateway. I am following the MQTT Gateway instructions page on the site for guidance and have downloaded the current DigitalIO and mysensor libraries.
Any assistance appreciated.