python-awox-mesh-light icon indicating copy to clipboard operation
python-awox-mesh-light copied to clipboard

Unknown failure when setting mesh

Open slvwolf opened this issue 6 years ago • 2 comments

When executing the example script for setting the mesh configuration I receive an unknown failure. Running the same script on the remote works fine. The problem seems to only happen with the setMesh command, other commands such as setColor works fine.

Light is RGBW Eglo LED panel.

Any idea what is the error code about?

Script,

import awoxmeshlight
import logging
logger = logging.getLogger("awoxmeshlight")
logger.setLevel(logging.DEBUG)
handler = logging.StreamHandler ()
handler.setLevel(logging.DEBUG)
logger.addHandler (handler)
mylight = awoxmeshlight.AwoxMeshLight ("xx:xx:xx:xx:xx:xx", "R-ACCXXX", "1234")
mylight.connect()
mylight.setMesh("PixtxaLightNet", "IeY3johvoosh","4556572782865925")
mylight.disconnect()

Output,

Connected.
Receiced notification from characteristic 00010203-0405-0607-0809-0a0b0c0d1912
Received message : b'\x18\x82\x12\x00\x00,\x15\xdc`\x01\xdd\x11\x01\x7f\x11d\xff\x003\x00'
Mesh network settings change failed : bytearray(b'\x0e')
Disconnecting.

slvwolf avatar Sep 08 '19 15:09 slvwolf

This code is the same as the one for "wrong password" when connecting. Maybe if you have other devices, make sure you are using the same mesh name and passwords. I never used more than one light, so I didn't test the mesh network features.

Leiaz avatar Sep 09 '19 20:09 Leiaz

Had the same error message here. After making the mesh_name and mesh_password shorter I could succesfully update the values. And could "pair" the light :)

fsaris avatar Mar 05 '20 19:03 fsaris