This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Python serial interactive_pyaci ModelID length in app_bind

Hi,

I am using python interactive_pyaci for serial, when I tested an example that works. I have another model IDs that need to test, whenever I tried my model ID, this shows an error about length.

Example:

1 - cc.model_app_bind(db.nodes[0].unicast_address + 4, 0, mt.ModelId(0x1002))    -     This works

2 - cc.model_app_bind(db.nodes[0].unicast_address + 1, 0, mt.ModelId(0x00590a13))  - ERROR

as I understood, there is bytearray defined as "<H"  that cause this error, but I also tried "<Q" only one pack function, after that this error disapear but nothing happend.

Any Idea how to solve this issue? 

Related