FHEM Forum

FHEM - Hausautomations-Systeme => RFXTRX => Thema gestartet von: oliv06 am 08 Mai 2014, 12:14:51

Titel: webCmd attribute usage for displaying a slider ?
Beitrag von: oliv06 am 08 Mai 2014, 12:14:51
I am trying to use the webCmd attribute for displaying a slider on a Chacon dimmer module, but I get some unexpected text at the end of the display : What is wrong in my definition ?

define my_dimmer TRX_LIGHT AC xxxxxxxxxx light
attr my_dimmer IODev TRX
attr webCmd level:slider,0,1,15



Titel: Antw:webCmd attribute usage for displaying a slider ?
Beitrag von: mcfly71 am 08 Mai 2014, 16:13:23
Zitat von: oliv06 am 08 Mai 2014, 12:14:51
I am trying to use the webCmd attribute for displaying a slider on a Chacon dimmer module, but I get some unexpected text at the end of the display : What is wrong in my definition ?

define my_dimmer TRX_LIGHT AC xxxxxxxxxx light
attr my_dimmer IODev TRX
attr webCmd level:slider,0,1,15


You have to do the following:
attr my_dimmer setList state:slider,0,1,15
attr my_dimmer webCmd state

cheers mcfly
Titel: Antw:webCmd attribute usage for displaying a slider ?
Beitrag von: oliv06 am 09 Mai 2014, 16:51:28
It does not work : seList is for dummy devices. I get this error when restarting fhem :
configfile: vv_Salon: unknown attribute setList. Type 'attr vv_Salon ?' for a detailed list.