EinEinfach / CaSSAndRA

Cascaded sunray server and rover application
MIT License
29 stars 17 forks source link

MQTT API: Battery as absolute value #131

Closed marvin78 closed 4 months ago

marvin78 commented 4 months ago

I would like to use absolute value of battery charge status (eg. 29,6V). The percentage is useless on Alfred because you cannot balance it between charging and mowing. Because of that Alfred is almost never "charging" but always "docked". 100% in dock is not 100% while mowing. So the absolute value is important to see which state we have during charging in dock.

EinEinfach commented 4 months ago

Sorry but don't understand what you mean with absolute value

marvin78 commented 4 months ago

Screenshot_20240513-210839

marvin78 commented 4 months ago

Auf Deutsch: bei Alfred ist der Prozentwert nutzlos, wenn gedockt. Das BMS kann nicht ausreichend angezapft werden. Anhand der Voltzahl kann man aber auslesen, wie weit geladen ist. Auch wenn die Zahlen nicht stimmen, ergeben sie so wenigstens Sinn. Im Dock hat Alfred eigentlich immer 100% wenn man die Werte in den Settings so angegeben hat, sodass sie beim Mähen Sinn ergeben.

EinEinfach commented 4 months ago

Also willst du eine Spannungsschwelle ab wann zwischen Charging und Docked entschieden werden soll?

marvin78 commented 4 months ago

Nein. Ich brauche nur die markierten Werte über die MQTT Api.

EinEinfach commented 4 months ago

Ok, das sind Werte vom Roboter. Ich kann die dir direkt durchrouten, wenn es dir hilft und du dir nicht vom Roboter abgreifen willst. Geht schnell, mache ich morgen

marvin78 commented 4 months ago

Danke :)

EinEinfach commented 4 months ago

https://github.com/EinEinfach/CaSSAndRA/commit/f5cf53fb5e396d9deed3cd698927d64a286a0f94

marvin78 commented 4 months ago

Danke!