02-21-2023, 11:59 PM
(This post was last modified: 05-12-2023, 06:39 AM by chris_audi.)
Update 21.02.2023:
- optimized the script a bit with chat gpt :-D
- changed the way of sending canbus messages. Sending via bus directly in python now instead of os.system
- changed reading path method to better install api files. It doesn't matter anymore from wich path you're starting the script.
- send tv input activation message even if send_to_canbus is False
- added transparent reversecamera guide lines image to reversecamera function. Included in zip but you may need to modify the image to fit to your reversecamera
- using now integer instead of round function for speed, rpm and coolant with integer. Before: 10,5 km/h -> 16 km/h. After: 10,5 km/h -> 10 km/h.
- added function to write error messages to a logfile:
-> the messages will be saved in the script folder with date and name of the script. Example: 2023-02-01_read_from_canbus_errors.log
- the script will now check, if the tv input automation and hands free message are already send by another module. If this is the case, the scrippt will disable sending these messages
- if toggle_values_by_rnse_longpress is activated and toggle_fis1 or toggle_fis2 = 12 (DISABLE) the script will disable sending content and the normal dis/fis message will show up (example: "TV/VIDEO")
- small bugfix
Bugfix 20.04.2023:
toggle_fis2 == 1 showed artist instead of title
Update 10.05.2023:
-support for mph - selectable with "km/h" and "mph"
-support for °F - selectable with "°C" and "°F"
Feel free to test and give feedback, if you can ;-)
read_from_canbus.zip (Size: 42.68 KB / Downloads: 91)
- optimized the script a bit with chat gpt :-D
- changed the way of sending canbus messages. Sending via bus directly in python now instead of os.system
- changed reading path method to better install api files. It doesn't matter anymore from wich path you're starting the script.
- send tv input activation message even if send_to_canbus is False
- added transparent reversecamera guide lines image to reversecamera function. Included in zip but you may need to modify the image to fit to your reversecamera
- using now integer instead of round function for speed, rpm and coolant with integer. Before: 10,5 km/h -> 16 km/h. After: 10,5 km/h -> 10 km/h.
- added function to write error messages to a logfile:
-> the messages will be saved in the script folder with date and name of the script. Example: 2023-02-01_read_from_canbus_errors.log
- the script will now check, if the tv input automation and hands free message are already send by another module. If this is the case, the scrippt will disable sending these messages
- if toggle_values_by_rnse_longpress is activated and toggle_fis1 or toggle_fis2 = 12 (DISABLE) the script will disable sending content and the normal dis/fis message will show up (example: "TV/VIDEO")
- small bugfix
Bugfix 20.04.2023:
toggle_fis2 == 1 showed artist instead of title
Update 10.05.2023:
-support for mph - selectable with "km/h" and "mph"
-support for °F - selectable with "°C" and "°F"
Feel free to test and give feedback, if you can ;-)
