I got it working ![]()
It is running on my bedsensor board, which has 2 FSR bedsensors (FSR - the best bed occupancy sensor) and a DHT sensor as well.
Since our bedroom (1st floor) is located next to the driveway, it connected directly to the bike.
I just copied the parts from the example code on Github and sorted it between the original code of my sensor.
Thanks for the amazing work! Now I can turn my charger on and off more accurate on <25% and >80% without guessing! (using a Shelly plug S)