anyone got a clue on how o integrate or read the Ninebot Scooters? They have bluetooth. I would love to couple those with a raspi or esp32/arduino to get a read on charge level. I could then check if it needs charging (say <60) and stop charging if 80<.
Combined with my solar production this would net a nice little greet mobility solution
The only thing(s) I could find are either years old, no longer or not working,
With the recent improvements in Bluetooth support within Home Assistant, I’m keeping my fingers crossed that someone will add support for this (similar to the Oral-B integration).
Played with this for a bit and came up with the following integration. The premise is this - my scooter is hooked up to a smart plug with power monitoring capability. When the plug turns on (at a specific time in a separate automation), every 20 minutes (not the most efficient code) that the voltage is higher than a specific amount my automation gets triggered. The automation disabled the integration, re-enables it and checks the battery %. If its over 85% it turns off the smart plug. The thing that seems to make this work is when the charger turns on by the smart plug, the scooter connects automatically to BLE, I don’t need to manually turn on the scooter for the integration to connect.
nice!
to update the battery status you need to run homeassistant.disable_config_entry and then homeassistant.enable_config_entry?
how did you get the id? config_entry_id: 01JVQV2CB2NHM7S9G4MNW4HYH0
I use smart plug with power monitoring. When Wattage dropps under ~5W ( scooter is charged ) it will turn the switch off ( turns off the charger ). Then I have a smart button on the wall next to the scooters to turn the switch ON on demand when charging is required.
I want to read the battery status when I arrive home ( my kids mainly ) to send some notification like: Hey your scooter is low, charge it etc…
Using the spook integration. If you go to dev tools and actions and then via the gui when you put in the action to disable integration you can choose the right integration (NB1234) and it will populate the ID for you. You do need to set it up manually the first time by adding the integration and then it should detect your scooter automatically.
I am seeing that my battery % seems to update more regularly than my integration disable/enable cycle which is good. I think 20 min cycle is too infrequent to get charging where I want it. And I’m sure there is a better way to have my automation but it seems to work at least.