X10 Dimmers implementation

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
Persisto
Posts: 18
Joined: Wednesday 03 February 2016 21:10
Target OS: Linux
Domoticz version: 2.4386
Location: Plailly France
Contact:

X10 Dimmers implementation

Post by Persisto »

I know X10 is not respected hardware (I agree, but that is what I and a lot of other DOmoticz users have) and the X10 protocol is not an example of clarity but

Code: Select all

PL A1 xdim xx
(where 0 =< xx <= 63) works on Marmitek LW11 modules -the most common I believe- and would be fairly easy to implement:

Liberate the slider on the png, send " xdim & int(slidervalue *.63)" to the dimmer when it changes

I've made a hack: http://www.domoticz.com/forum/viewtopic ... 23&t=15575 for which Domoticz reports non-existing Mochad errors :)

I'd be happy to test in beta if that is what it takes.
Plailly France
X10 Marmitek + Ebode for lights and blinds + CM15
mochad
Domoticz, Domoticz Lite, Geofence
Raspberry Pi III
franzelare
Posts: 141
Joined: Thursday 19 February 2015 21:48
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: X10 Dimmers implementation

Post by franzelare »

I do see the code when changing a dimmer status manually on a 2 way dimmer being received by domoticz but not able to process:
like this for different raw levels of the same dimmer
2017-01-21 11:17:34.572 Error: Mochad: Cannot decode 'Rx PL HouseUnit: G7 Func: Ext code 1, data, control Data: 2D Command: 31'
2017-01-21 11:18:38.366 Error: Mochad: Cannot decode 'Rx PL HouseUnit: G7 Func: Ext code 1, data, control Data: 2E Command: 31'
2017-01-21 11:19:12.323 Error: Mochad: Cannot decode 'Rx PL HouseUnit: G7 Func: Ext code 1, data, control Data: 20 Command: 31'

so the dimmer level is in the control data part
Persisto
Posts: 18
Joined: Wednesday 03 February 2016 21:10
Target OS: Linux
Domoticz version: 2.4386
Location: Plailly France
Contact:

Re: X10 Dimmers implementation

Post by Persisto »

@franzelare Maybe the X10 dimmer issue can be solved step by step.

Implementing what I propose, solves the problem of dimming: Setting the dimmer slide to 50% will set the lamp to 50% (or as near as it would using any other hardware.) which would be a big step.

Your readback of 2 way dimmers, if and when a solution is clearly identified, can maybe dealt with as a follow up
Plailly France
X10 Marmitek + Ebode for lights and blinds + CM15
mochad
Domoticz, Domoticz Lite, Geofence
Raspberry Pi III
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest