making a virtual dummy and use the idx in the arduino script is what I am doing now and works fine. just wondering if I could write a function to use the learn function since that would be pretty neat.
Hi, Thanks for the response. I checked the "accept new hardware" setting, good point, but it was enabled. sending an unused IDX message to the MQTT server doesn't add any device, unfortunately... however since sending a "used" IDX message does trigger the learn switch function, but it says that the ...
Good evening, Could anyone explain me how the "learn light/switch" function works when communicating with MQTT gateway? I have an arduino connected and functional over the MQTT protocol, and I can dim a light with the Domoticz interface and turn it on/off by a hardware switch as well. when I played ...
Hi, Ok I got it running. I made the mistake of asigning the IP address of the arduino in the gateway, but I also had a second gateway with the localhost IP which is the raspberry that runs the server. obviously I shouldn't have put the MQTT gateway for the arduino in there since that is not the ...
CODE: SELECT ALL mosquitto_sub -F "%U - %t - %p" -v -h <brokerIP> -p 1883 -t '#' Alright I will give this a go to see if the domoticz console actually sends out the MQTT message because I am suspecting that part. furthermore there are no settings required for outgoing messages? timeout on the MQTT ...
If you set your mqtt gateway over LAN settings in domoticz to flat (out) it will publish switch events to domoticz/out This goes for any switch? virtual switches as well? is there any way to see the message as the MQTT message in the log so I can be sure that the topic is correct? Is there also a ...
Hi, My broker is on a raspberry pi in the network. the arduino is also in the network. I have added the mqtt gateway over LAN and I have communication between the 2. Arduino publishes a temperature and domoticz receives this in a the log correctly and puts it in a virtual temperature gauge. so far ...
Hi, I am facing an issue with receiving a message on the arduino from the Domoticz server. The arduino is reading the topics that it publishes itself fine, and also reads topics published directly from the raspberry pi mosquitto server. however it doesn't read any switch statements. I have now made ...
Ok I was not aware of the log, that was helpful! I could at least confirm my messages were also received in domoticz instead of just echoed back via a subscribe in the arduino. I got it all working now, thanks for the helpful hints :) The problem was the build up of the string. the extra quotes wasn ...
Hi Waaren, Thanks for the reply. MQTT is new for me but i am giving this a go and I have established connection between my arduino and the MQTT server. I am now trying to replicate the MQTT example that Domoticz has on the website where it uses a virtual temperature sensor and a mosquitto publish ...
Good morning Guys, First of all congratulations on this software, It looks like exactly what I need! I have been looking for a web based server running on a pi to control domotics, and this seems to tick all the boxes. I was wondering if the following is possible: I would like to use the webserver ...