@Andreas-Menzel That is an old thread, but my thoughts would be to send battery level back often enough so you have time to change it, or better yet send battery level and add solar panel to recharge battery. A lot will depend on usage frequency, temperature, levels of sunlight etc...
You could also add a flow sensor or pressure switch to alert you if the water does not turn off.
@skywatch Ah, and you are right about the LED. I re-designed the circuitry a while ago to accommodate a RFM69 on the PCB back side, and meanwhile forgot the fact that my LED is now connected to Atmega328‘s port D3 now. For the serial function test it does not make a difference, however.
It's always nice to see what people can accomplish. It looks professional and I'm impressed with the battery lifetime. But if it's not open source and I can not create sensors / actuators with it myself. It's probably not something I will go for. In my country using 868Mhz is not available for use in home automation. You need to have a permit to transmit on that frequency.
Since Ikea started to use Zigbee in their products, Zigbee technology became cheap and many devices are available (good reliable smoke detectors e.g.) also on Aliexpress. And it's easy to integrate in most home automation system. So to me if I can buy something that meets my requirements for cheap I'll go that route.
As I already have a mash up of different technologies for my home automation I'm not really that keen on using yet another one. Right now I have Ikea Tradfri, RF, Zwave, Zigbee and MySensors. For that same reason I don't use Tasmato e.g.
I use my sensors for all the things I create, which are things I can't buy or just don't provide the features I want. Or because I love the things other creators have made, like the sense bender and the mysensors gateway.
I just think the mySensors audience is not the people that are looking for yet another product like the one in this post. Most build things like this themself. Not always because it's cheaper, but always because we can.
@Jon-Raymond Well, not seeing a lot of activity in the repo.
I took a very long shot at adding support https://github.com/nikolac/arduino-nRF5/tree/nrf52805-s112-support.
I was able to flash the softdevice, but I haven't tested or even uploaded a working sketch (sloppy). Feel free to mess around and test. If it works for you, I do the same for S113.
Biggest question I have is around figuring out the proper values for the "linker scripts" https://github.com/nikolac/arduino-nRF5/blob/nrf52805-s112-support/cores/nRF5/SDK/components/softdevice/s112/toolchain/armgcc/armgcc_s112_nrf52805_xxaa.ld
Hello all, many thanks to @AWI for this great sketch - it performs very well and is my 'go to' for a WS28XX interface with Mysensors and Openhab.
I am however, starting to experience problems introduced with the FastLED 'wait' commands and the radio receiving a command - essentially, if I command the node to a pattern that is particularly blocking - I cant them command it to off, solid colour or another pattern.
Anyone solved this problem - or able to point me in the direction of solving. I'd be happy to refresh the sketch and re-share.
@korttoma I set up a pir node with promini and nrf24l01+ about 6 weeks ago running on 2xAAA batterues. No false triggers yet and it detects many movements each day. Battery level is still 100% (3V) so it is possible to do this. Maybe something else is affecting your previous test, like situation, distance or interfereing signals?
But you have another solution that mighte well be useful to someone else with the issues you faced. Good of you to share it.
This worked for me in Home Assistant:
MyMessage fadeCtrl(CHILD_ID_FADE_CTRL, V_PERCENTAGE); // one child ID
send (fadeCtrl.set(true)); // enable down
send (fadeCtrl.set(false)); // disable up
send (fadeCtrl.set(false)); // disable stop
send (fadeCtrl.set(level)); // update position