Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KNX DPT 3.007 Dimming Control not send on Bus #33

Open
Sven5651 opened this issue Oct 23, 2013 · 2 comments
Open

KNX DPT 3.007 Dimming Control not send on Bus #33

Sven5651 opened this issue Oct 23, 2013 · 2 comments

Comments

@Sven5651
Copy link

Hey,
Above all, I congratulate you for your job.

I started with Smarthome and Smartvisu, and I have problems to send a DPT 3.007 Dimming Control (4 bits).

With SmartVisu, i use the Widget "basic.button". These are configured in an HTML page.
Here is the code of my html page (roomsalleamanger.html) in the folder
"/var/www/smartvisu/pages/myhome" :
capture code

If I dont make mistakes, the logic table for Dimming Control is:
capture dpt

With:
For DIM INCREASE
bControl = 1
byRange.2 = 0
byRange.1 = 1
byRange.0 = 0
--> 9 dec.

For DIM DECREASE
bControl = 0
byRange.2 = 0
byRange.1 = 0
byRange.0 = 1
--> 1 dec.

For DIM STOP
bControl = 0
byRange.2 = 0
byRange.1 = 0
byRange.0 = 0
--> 0 dec.

My file ‘items’ (test.conf) in the folder « /usr/smarthome/items/» is configured as follow:
capture item

and the message in the smarthome.log file is:
error1

I also tested with a logics file (test_dimmer.py) and the function:
sh.knx.groupwrite('0/0/2', 9, '3') but it does not work.

the message in the smarthome.log file is:
error2

Thank you for the help you can give me.
Best regard.

@mknx
Copy link
Owner

mknx commented Oct 23, 2013

Hi Sven,

see https://github.com/mknx/smarthome/tree/develop/plugins/knx for an updated table. Currently you have to use a list e.g. [0, 1]

hth

Marcus

@Sven5651
Copy link
Author

Hi Marcus,

Thank you for your reply.

I use a list on my widget "basic.button"?
Exemple:

{{ basic.button('buton1', 'EG.salleamanger.dimmer', 'UP', '', '[1,2]', 'mini') }}

and with

[[[dimmer]]]
visu = yes
type = list
knx_dpt = 3
knx_send = 0/0/2

With this configuration, the message in the smarthome.log file is:
Item 'EG.salleamanger.dimmer': value ([1,2]) does not match type (list)

-------- Message d'origine--------
De: Marcus [mailto:notifications@github.com]
Date: mer. 23/10/2013 22:26
À: mknx/smarthome
Cc: DERBEQUE Steve
Objet : Re: [smarthome] KNX DPT 3.007 Dimming Control not send on Bus (#33)

Hi Sven,

see https://github.com/mknx/smarthome/tree/develop/plugins/knx for an updated table. Currently you have to use a list e.g. [0, 1]

hth

Marcus


Reply to this email directly or view it on GitHub:
#33 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants