Hi,
I'm new to Hubitat, lots to learn, must admit I find Hubitat a lot more complex to understand that Home Assistant! I want to love it as I want to move as much as possible to local control.
I have installed a Candeo Zigbee dimmer, and am trying to automate some lights using Room Lightng, the dimmer and a Zigbee PIR.
For now, I just want to turn the lights off after a period of time or a period of inactivity. If there is activity, reset the timer. If the lights come on and no activity turn off after a period.
I keep getting the error below in my logs for the dimmer switch itself, not the rule or PIR.
dev:222023-05-12 14:36:38.432errorjava.lang.NumberFormatException: For input string: "1.00" on line 68 (method parse)
I'm using the Generic Zigbee dimmer, and it seems to work ok, I haven't been through every field though, On/off works, as does dim. Not sure what else to try.
Thanks
Paul
Well nothing i can see. I just went through all the options, no error. Is it caused maybe by the Room Lighting system? I can't get that to work as expected at the moment.
If the movement sensor activates all is good, but the lights down turn off just by time.
OK, but does my logic look sound? Is that how you would achieve what I want?
I summary:
If lights turned on turn off after a period of time, unless movement is detected, then reset timer and turn off after same period after last movement.
So I don't understand this. I disable the Room Lighting automation app I have on this device but I still get the error below every 30 mins.
[dev:22](http://192.168.1.98/logs#)2023-05-26 10:24:08.287[error](http://192.168.1.98/logs#)java.lang.NumberFormatException: For input string: "1.00" on line 68 (method parse)
dev:222023-05-26 13:23:29.340errorjava.lang.NumberFormatException: For input string: "1.00" on line 68 (method parse)
dev:222023-05-26 12:53:35.791errorjava.lang.NumberFormatException: For input string: "1.00" on line 68 (method parse)
dev:222023-05-26 12:23:42.345errorjava.lang.NumberFormatException: For input string: "1.00" on line 68 (method parse)
dev:222023-05-26 11:53:48.848errorjava.lang.NumberFormatException: For input string: "1.00" on line 68 (method parse)
dev:222023-05-26 11:23:55.326errorjava.lang.NumberFormatException: For input string: "1.00" on line 68 (method parse)
dev:222023-05-26 11:05:11.286infoHall dimmer is off [physical]
dev:222023-05-26 10:54:01.860errorjava.lang.NumberFormatException: For input string: "1.00" on line 68 (method parse)
dev:222023-05-26 10:24:08.287errorjava.lang.NumberFormatException: For input string: "1.00" on line 68 (method parse)
dev:222023-05-26 10:09:09.367infoHall dimmer is 73% [physical]
dev:222023-05-26 09:54:14.673errorjava.lang.NumberFormatException: For input string: "1.00" on line 68 (method parse)
dev:222023-05-26 09:24:21.083errorjava.lang.NumberFormatException: For input string: "1.00" on line 68 (method parse)
dev:222023-05-26 08:54:27.580errorjava.lang.NumberFormatException: For input string: "1.00" on line 68 (method parse)
Use screenshots for logs please, its easier to read.
Was that log snip taken with debug logs enabled? I would expect more info.
Turn on both logging options for the device, then turn it on / off once and get a screenshot of logs. I assume this will also generate the error.
It looks like the device is sending something back to the hub with a value of "1.00" and the driver is not properly converting that to a number. The debug logs should show what the device is sending exactly.