Open DurvalMenezes opened 2 months ago
Hi, as far as I know that's not quite possible and the Android app can't do it either. There is limitation that Android app has local profiles stored in the Android app only and thus it never reads the parameters from the charger and thus over BLE you can write parameters but you can't read. The USB interface doesn't have this limitation and thus you can both read and write.
I did originally try to use BLE only but the Android app doesn't ever read and I didn't find anything even by guessing/trying every possible command nor I did find any other project or information that would suggest this is a possibility. Thus I concluded it wasn't ever implemented since it was never used by the app.
The way the Android app works is unusable for me that's why read+write was essential for my use-case and that's why the USB was required.
It's possible to do write-only via BLE? Totally yes but I'm not quite sure how would that work exactly like in term of the UI and if that's worth the effort... 🤔 Replicating the Android app is for sure lot of work.
My use-case isn't to remote control the charger, I control the charger via its own interface so this is the reason why I didn't even think of such functionality. The profiles part of the application serves me like backup or a way to share parameters or a way to make different permutations like different currents of already existing programs. At the end I control the charger by selecting specific program on the charger without any connection to anything (no USB, no BLE). Then I may use BLE to monitor and to know when the operation is done. I don't like the idea that I need USB or BLE to use the charger at all, this is how the Android app is designed since the parameters are stored only in the app, it's much more friendly for me to just select the program on the charger that I written over USB earlier.
The "brake" is a error it should be break, thanks for letting me know. My mind thinks break but I always write brake, not sure why... This happened so many times and often I notice this but sometimes...
Hello @kolinger, and thanks for the effort you put into this project.
First, the feature request: is it possible to implement get/set parameter functionality in mc3000ble.py? If yes, then it would gain the same functionality of the Android app and it would be possible to do everything directly on my computer, which would be much preferable.
Second, I think this is a typo: 132: "Connection brake",
Perhaps you meant "Connection break" or "Connection broken"?
Not trying to nitpick, and English is not my native language either, so I may well be wrong.