I recently build successfully a mysensor node based on an Arduino Uno, a Robolink IR sensor and a Robolink DHT11 sensor. The last two from an Elektor sensor kit ever bought for my son when he was still interested by electronics :wink: .
My controller is Home Assistant, so I did a merge of the given MySensors example sketch and the Home Assistant example sketch together with the DHT11 sketch.
The airco is a Samsung one, so in the sketch you will find these defines uncommented. Replace by your airco manufacturer.
People interested in building one, can find my sketch on https://github.com/ericvb/MySensorsArduinoSketches
@ToniA a big thanks for the work to decode all these IR sequences!
@Nca78 said in Dimmable LED kitchen light (Arduino, APDS-9960, RGBWW led):
Do you use a relay to control the leds or still a MOSFET ?
i'm using mosfets.
I successfully worked around the issue by updating the /Library/Application Support/Perceptive Automation/Indigo 2022.1/Plugins/MySensors.indigoPlugin/Contents/Server Plugin
/plugin.py script to recognize the internal 21 code.
Here's the diff:
34c134,135
< "GATEWAY_READY" : [14, "Gateway ready", ""]
"GATEWAY_READY" : [14, "Gateway ready", ""],
"DISCOVER_RESPONSE" : [21, "Discover response", ""]
715a717,719
elif itemType == self.getInternalNumber("DISCOVER_RESPONSE"):
# 21 Ignore
pass
P.S. Indigo 2022.1 is complaining about this plugin that it won't be supported in future releases. Is there anyone out there planning to update this plugin?
You should not typ "\n"!
It means that you should press enter on your keyboard.
On Linux I saw that I have to send "\r\n" instead of "\n".
"\r\n" (Carriage return, Line feed) is the Windows return, "\n" only the Linux return.