webCmd attribute usage for displaying a slider ?

Begonnen von oliv06, 08 Mai 2014, 12:14:51

Vorheriges Thema - Nächstes Thema

oliv06

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




mcfly71

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
- HMLAN / Raspberry auf hmmode
- Homematic

oliv06

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.