11-11-2021, 06:50 AM
I wired up a DS18B20 to the Raspberry Pi to use for OpenAuto. In Raspbian, everything works fine. It always and consistently shows the right temp if I cat the w1_slave. I have set OpenAuto to use that slave device, but when OpenAuto boots, it has the wrong temperature. If I shutdown OpenAuto and return to the Raspbian desktop, then relaunch OpenAuto from there, OpenAuto will then show the correct temp.... anyone know why this would be happening?
Looking in the opanauto.log, there's an error that reads:
"[0x6abea140] [error] [OpenAuto] [TemperatureSensorManager] unable to open: /sys/bus/w1/devices/28-0316a2798a5a/w1_slave"
However I can copy and paste that same path and I can cat the w1_slave just fine. And again, if I quit OpenAuto and then re-launch it will display the temp fine.
Any ideas? Thanks.
Looking in the opanauto.log, there's an error that reads:
"[0x6abea140] [error] [OpenAuto] [TemperatureSensorManager] unable to open: /sys/bus/w1/devices/28-0316a2798a5a/w1_slave"
However I can copy and paste that same path and I can cat the w1_slave just fine. And again, if I quit OpenAuto and then re-launch it will display the temp fine.
Any ideas? Thanks.