@timo Thank you this worked. The problem was I didn't even have the mysensors bindings installed and had got it working a different way (told you I'm a newbie lol). After getting it properly set up with mysensors binding it is working and much easier to manage.
Ryan Dick
@Ryan Dick
Best posts made by Ryan Dick
-
RE: Imperial Units
Latest posts made by Ryan Dick
-
RE: Imperial Units
@timo Thank you this worked. The problem was I didn't even have the mysensors bindings installed and had got it working a different way (told you I'm a newbie lol). After getting it properly set up with mysensors binding it is working and much easier to manage.
-
Imperial Units
All,
I'm a newbie and have gotten mysensors working with openhab2 but I am having difficulty switching from metric to imperial. I have set the metric = false on the sensor node but believe it is still getting the config from the controller and can't figure out how to change the controller level.
I believe the problem is this line:
float temperature = static_cast<float>(static_cast<int>((getControllerConfig().isMetric?sensors.getTempCByIndex(i):sensors.getTempFByIndex(i)) * 10.)) / 10.;Sorry if this has been answered somewhere else. I am having a difficult time finding this information.
Thanks,
Ryan