@stormy said in MySensors InCan double light switch:
No, a have no problems with sketch.
It looks like some problems with radio communication.
It was. I used the default channel and apparently it was too noicy. Changed to another channel and it worked fine!
Diodes are only for protection transistor from reverse voltage spikes. Diodes never should be even warm. Something is wrong. You can test this without diodes.
Somehow, when powered by 5V from the FTDI, the device got hot. The Hi-link maybe did not like to get power from the FTDI? The diodes got super hot, and so did the Hi-link. I removed the diodes and could continue. Today, I tried 230V. It didn't work, the thermo fuse was busted, probably from the overheating earlier.
I shorted the fuse (temporarily) and everything worked fine. Hi-link was still alive and supplied 5 Volts
And this brings me to my question...
What kind of range do you get with this device? And how accurate is it?
I tried 50 centimeters from the gateway and got a fairly decent hit rate on the on/off from domoticz.
I moved the device to about 3-4 meters, and maybe got 50% hit rate. It was almost line of sight.
If I toggle the on/off from Domotics, with 3 seconds apart, I got like 10% hit rate, maybe every 10th click toggled the relay.
Placing it inside a wall sounds like a "no go" if almost line of sight doesn't work 100%.
What is your experience?