This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

EnOcean profiles supported in LM
#11
Try this with RAW 4-byte profile (first, not the split one), though I'm not sure about contents of byte 0, try setting it to 0x0A if it does not work.

Code:
-- dimming
b3 = 0x02
-- dimmer value [0..100]
b2 = event.getvalue()
-- ramp time in seconds
b1 = 1
-- data telegram, absolute value, store final
b0 = 0x0A

res = bit.bor(
bit.lshift(b3, 24),
bit.lshift(b2, 16),
bit.lshift(b1, 8),
b0
)

grp.write('1/1/1', res, dt.uint32)
Reply


Messages In This Thread
EnOcean profiles supported in LM - by edgars - 09.11.2015, 11:03
RE: EnOcean profiles supported in LM - by admin - 26.11.2015, 07:13

Forum Jump: