Hi @talhatec ,
The remote controls work well. 4 months ago I installed a new battery and from time to time I press the button to check if they continue with battery, they sleep correctly.
I remain pending to change the RF antenna for a better one and to improve some failures in the connectors of the battery that at the moment are very fragile (the pad has little copper).
The casing can be purchased online
https://www.ebay.com/itm/Bluetooth-4-0-GPS-Tracker-Locator-Smart-Alarm-Anti-lost-Device-Self-Portrait-SC/401394156488
For now the project is stopped, I want to test the Aqara sensors (I buy them this week), in any case the domotics is now my lowest priority.
This should work with Domoticz, it's what I intend to use with it. I've received the boards from China and I'm currently working on a version 2 of this board. There are some errors in the design of version 1 that I need to get out. New version will be up shortly.
The author has done some good work ensuring good design practices; trace separation, fuses, etc. but I don't see any extra I/O brought out on this particularl switch. You would have to carefully solder to the chip itself, and modify the code a bit.
You could use magnetic switches. Put a magnet on the blinds and the switch in window sill.
The author notes that this is not an Arduino, but uses the same chip that the Arduino uses. The author doesn't explain how the chip is programmed. This method could have been used.
It may be just as easy to use an RF Nano with a little power supply. This suggestion is not nearly as robust as the author's. For example, these power supplies have gotten bad reviews mainly because the mains power traces are too close together. I justify using them because in all likelihood a failure will pop the power supply and probably the Nano, too, noting that these are cheaper than the fuses you would put in to protect them. I am fully aware of the risks involved in doing this, and you should be, too (eg. burning down your house).
-OSD
Added sketch, which also supports an additional mini PIR sensor. It's what I needed, you can comment to #define out.
Also changed the regulator to a smaller one, which supplies up to 100 milli Amp, which is plenty enough. That way I can keep the circuit smaller on the PCB. Which allows me to create a smaller housing.