Candeo Zignee dimmer: java.lang.NumberFormatException: For input string: "1.00" on line 68 (method parse)

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)

What can I provide to help diagnose this issue?

Thanks in advance.

Paul

As for the Room lighting setup, its here:

It doesn't seem to turn off unless it sees movement. I thought the 'has elapsed time from last activation event' would sort that.

Ideas and explanations welcomed.

what driver are you using with the dimmer, and do all the driver commands work correctly from the driver details page?

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

which command generates the error?

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.

i might try clearing out the means to turn off, then add them one by one starting with the most important to see which one is throwing the error

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.

OK, so i cleared out all means to turn off except elapsed time, and the error occurred.

dev:222023-05-12 15:36:25.455errorjava.lang.NumberFormatException: For input string: "1.00" on line 68 (method parse)

app:302023-05-12 15:36:15.093debugEvent: Hall dimmer switch on

dev:222023-05-12 15:36:14.961infoHall dimmer was turned on [digital]

Must admit, the room lighting is super complex. I'm sure its very powerful, but takes a lot of getting my head around!

does the error go away when the elapsed time is removed?

It does seem to, and re-enabling it, it's not showing the error now!

Spoke too soon, as the error has appeared again.

OK, i'll clear out all the off rules and leave for a few hours, then try one at a time.

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)

Any ideas?

Thanks
Paul

Logs and config looks like this:

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)


Does anyone know how to solve this?

Am I using the correct driver?

  • endpointId: 01
  • application: 00
  • firmwareMT: 100B-03E8-00000001
  • manufacturer: Candeo
  • model: Candeo Zigbee Dimmer
  • softwareBuild: 00000001

Thanks
Paul

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.

Hi,

Well this is wierd, stopped and restarted the logs and now no error is showing up.

Maybe I'll try the room lighting app and see if it starts again.

Paul

Ok Its started again. Here's the capture

Any ideas? By the way, does debug logging stop after a while automatically?

Thanks
Paul

@mike.maxwell can you decipher what's going on there? I am not yet versed in reading zigbee. I think that will pinpoint the problem for you.

Yes, most drivers will disable debug logging automatically after 30 minutes.

1 Like