i’m getting a lot of the below errors since the last couple of snapshot updates. currently im on #951
those errors occur as soon as an item of the corresponding group gets changed.
22:18:31.055 [ERROR] [rthome.core.library.items.DimmerItem] - Tried to set invalid state 1.00000000 on item R_LR_LIGHT_D of type DimmerItem, ignoring it
22:18:31.058 [ERROR] [rthome.core.library.items.DimmerItem] - Tried to set invalid state 0.44333333 on item H_Lamps_D of type DimmerItem, ignoring it
22:18:31.061 [ERROR] [rthome.core.library.items.DimmerItem] - Tried to set invalid state 0.28000000 on item R_LR_LIGHT_T of type DimmerItem, ignoring it
22:18:31.064 [ERROR] [rthome.core.library.items.DimmerItem] - Tried to set invalid state 0.36333333 on item H_Lamps_T of type DimmerItem, ignoring it
ok, but if the item and group both are of the type ‘Dimmer’ it should not give that error, or am i wrong?
as soon as im changing S_LR_LIGHT_Ceiling_D or S_LR_LIGHT_Ceiling_T i’m getting the mentioned errors.
Just want to say I’m seeing the same error. The lights respond correctly but it still clutters up the log. Anyone know how to make this command compatible with the new group behavior?
4 Hue bulbs are the only members in the group and are all defined as type Dimmer. The rule sends a command to gOffice_Lights which then correctly updates the members.
rule "Desk Motion Sensing ON"
when
Item MS_Desk_Motion changed from OFF to ON
then
gOffice_Lights.sendCommand(dimlevel.state.toString)
if(timer == null){
logInfo("Office Motion", "Office Lights ON")
} else{
timer.cancel()
timer = null
}
end
2017-06-23 18:07:25.044 [ItemStateChangedEvent ] - MS_Desk_Motion changed from OFF to ON
2017-06-23 18:07:25.046 [ItemCommandEvent ] - Item 'gOffice_Lights' received command 90
2017-06-23 18:07:25.049 [ItemCommandEvent ] - Item 'SB_Office_Brightness_4' received command 90
2017-06-23 18:07:25.061 [ItemCommandEvent ] - Item 'SB_Office_Brightness_3' received command 90
2017-06-23 18:07:25.073 [ItemCommandEvent ] - Item 'SB_Office_Brightness_2' received command 90
2017-06-23 18:07:25.085 [ItemCommandEvent ] - Item 'SB_Office_Brightness_1' received command 90
But then also generates an error.
2017-06-23 18:07:07.128 [ERROR] [rthome.core.library.items.DimmerItem] - Tried to set invalid state 0.90000000 on item gOffice_Lights of type DimmerItem, ignoring it
2017-06-23 18:07:07.165 [ERROR] [rthome.core.library.items.DimmerItem] - Tried to set invalid state 0.90000000 on item gOffice_Lights of type DimmerItem, ignoring it
2017-06-23 18:07:07.166 [ERROR] [rthome.core.library.items.DimmerItem] - Tried to set invalid state 0.90000000 on item gOffice_Lights of type DimmerItem, ignoring it
2017-06-23 18:07:07.166 [ERROR] [rthome.core.library.items.DimmerItem] - Tried to set invalid state 0.90000000 on item gOffice_Lights of type DimmerItem, ignoring it
Same problem here! My logs are full of these messages concerning Dimmers and Rollershutters. All groups are of the same type as their members. Most of my rules stopped working. Don’t know if the problem is related to above change, though.
I read somewhere that the command/state type is now enforced in more places and it seems to be a type mismatch (PercentType should be between 0 and 100)…