Closed andyboeh closed 3 years ago
@andyboeh it looks the given code does not have admin rights
Hm, it should have admin rights, I created the user specifically for this purpose. I'm using prefixes for the codes, could this cause a problem (7*xxxx)?
@andyboeh Prefixes should work if you insert the code with the asterisk.
The hint with the code was correct and some Wireshark dumps later I found the problem: I had to prefix my prefix with a leading 0. I guess that the system expects the user codes with leading zeroes, since it supports up to 300 users. One zero is hardcoded in jablotron.py (the first '\x30'), the second is not.
@andyboeh Can you please post the packet from wireshark? you can send me a private message on Discord.
Sorry, I didn't save the capture and I don't use Discord. However, the relevant data looked like this (code: 7*1234)
0x80 0x03 0x30 0x30 0x37 0x31 0x32 0x33 0x34
Fixed in 3.1.1
I upgraded to 3.1.1 yesterday and can confirm that it works perfectly - thanks for the quick fix!
I just installed HA for the Jablotron integration. Unfortunately, I can't get the plugin to work, this is what the log reports:
It's a fairly new JA-106K installation, LAN connected, no Cloud integration. I have about 20 devices on the bus, but the same timeout occurs if I enable only 3 devices. PG outputs disabled. Plugin version is 3.1.0 on a HA docker installation.
Any help is appreciated!