domogik / domogik-plugin-generic

A Domogik plugin for external xPL clients
Other
1 stars 3 forks source link

Add lighing.basic support #2

Open overload08 opened 9 years ago

jschaeke commented 8 years ago

For me also very important missing feature. Is it just a matter of adapting the info.json file to add support for it? Because I can't find a lot of code in this plugin. In this case, it seems not a lot of work to add it myself (whenever I want to integrate my self-made arduino devices)... however if it's already in there; the better.

tikismoke commented 8 years ago

Could you show us the xpl message send and receive by your device have i look and try is implementation.

overload08 commented 8 years ago

Hello tiki! You can fins All info about lighting schem here http://www.xplproject.org.uk/wiki/Schema_-_LIGHTING.html

-------- Message original -------- Objet : Re: [fritz-smh/domogik-plugin-generic] Add lighing.basic support (#2) De : tikismoke À : fritz-smh/domogik-plugin-generic Cc : overload08 ,Author

Could you show us the xpl message send and receive by your device have i look and try is implementation.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHubhttps://github.com/fritz-smh/domogik-plugin-generic/issues/2#issuecomment-213703463

jschaeke commented 8 years ago

It used to be in and functional in version 0.3.

tikismoke commented 8 years ago

@overload08 @jschaeke I'm agree with you but if you could show me an example like this one used on plcbus plugin it should be more usefull:

plcbus.basic { address=B8 level=0 }

As i see in the Xplproject doc:

command=[goto|activate|deactivate] [network=ID] [[device=ID]|[scene=ID]] [channel=#] [level=0-100] [fade-rate=[default|

I don't see how to implement it.

overload08 commented 8 years ago

I don't remember All i done... I think you can Only use command and level values. I Will see this week and say you

-------- Message original -------- Objet : Re: [fritz-smh/domogik-plugin-generic] Add lighing.basic support (#2) De : tikismoke À : fritz-smh/domogik-plugin-generic Cc : overload08 ,Mention

@overload08https://github.com/overload08 @jschaekehttps://github.com/jschaeke I'm agree with you but if you could show me an example like this one used on plcbus plugin it should be more usefull:

plcbus.basic { address=B8 level=0 }

As i see in the Xplproject doc:

command=[goto|activate|deactivate] [network=ID] [[device=ID]|[scene=ID]] [channel=#] [level=0-100] [fade-rate=[default|]

I don't see how to implement it.

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHubhttps://github.com/fritz-smh/domogik-plugin-generic/issues/2#issuecomment-213705527

overload08 commented 7 years ago

There is few exmples for lighting :

lighting.basic { command=activate device=lampe.salon }

lighting.basic { command=goto device=lampe.salon level=50 }