zak45 wrote: ↑Monday 19 November 2018 12:18
hose2001 wrote: ↑Monday 19 November 2018 2:29
Tnx that work for me. I see broadlink (rm3 mini) in hardware and switches but when I try learn new IR code from IRcontrol I got very often this log:
2018-11-19 01:58:39.172 (Broadlink)
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
2018-11-19 01:58:39.172 (Broadlink)
000000000000000000000000
2018-11-19 01:58:39.172 (Broadlink) Code stored in memory
2018-11-19 01:58:39.172 (Broadlink - Command) Updating device from 0:'Off' to have values 1:'20'.
2018-11-19 01:58:39.181 (Broadlink) Update 1:'20' (Broadlink - Command)
later when I put test button, broatlink no sending IR code (no blink white LED). I need about 10 attempts and I gets the correct code and then test button eorks correctly and I can save IR ccode.
You need to be very close the broadlink device during learning process....
I'm 5-10 cm from broadlink when during learning process. Restart service domoticz help but only for once code learning. I have the last version of the firmware broadlink v55. Log debug:
2018-11-19 17:59:34.899 (Broadlink) All plugin system is on pause for 5s...
2018-11-19 17:59:34.899 (Broadlink) When Broadlink led is lit press the button on your remote within 5 seconds
2018-11-19 17:59:34.877 Status: User: Admin initiated a switch command (24/Broadlink - Command/Set Level)
2018-11-19 17:59:40.408 (Broadlink) b'&\x00h\x00\x00\x014\x90\x16\x10\x12\x14\x15\x10\x15\x10\x13\x13\x16\x0f\x16\x10\x12\x14\x154\x137\x165\x137\x137\x165\x155\x128\x16\x10\x12\x14\x146\x12\x13\x15\x10\x16\x10\x137\x16\x10\x128\x165\x15\x10\x156\x146\x128\x16\x0f\x137\x16\x00\x05\x18\x00\x014G\x12\x00\x0cK\x00\x012H\x15\x00\x0cH\x00\x015F\x13\x00\x0cJ\x00\x014G\x13\x00\r\x05'
2018-11-19 17:59:40.414 (Broadlink) 260068000001349016101214151015101313160f161012141534133716351337133716351535123816101214143612131510161013371610123816351510153614361238160f1337160005180001344712000c4b0001324815000c480001354613000c4a0001344713000d05
2018-11-19 17:59:40.414 (Broadlink) Code stored in memory
2018-11-19 17:59:40.414 (Broadlink - Command) Updating device from 1:'10' to have values 1:'20'.
2018-11-19 17:59:40.422 (Broadlink) Update 1:'20' (Broadlink - Command)
2018-11-19 17:59:49.273 (Broadlink) Pushing 'onCommandCallback' on to queue
2018-11-19 17:59:49.287 (Broadlink) Processing 'onCommandCallback' message
2018-11-19 17:59:49.287 (Broadlink) Calling message handler 'onCommand'.
2018-11-19 17:59:49.287 (Broadlink) onCommand called for Unit 1: Parameter 'Set Level', Level: 20 , Connected : True
2018-11-19 17:59:49.288 (Broadlink) b'&\x00h\x00\x00\x014\x90\x16\x10\x12\x14\x15\x10\x15\x10\x13\x13\x16\x0f\x16\x10\x12\x14\x154\x137\x165\x137\x137\x165\x155\x128\x16\x10\x12\x14\x146\x12\x13\x15\x10\x16\x10\x137\x16\x10\x128\x165\x15\x10\x156\x146\x128\x16\x0f\x137\x16\x00\x05\x18\x00\x014G\x12\x00\x0cK\x00\x012H\x15\x00\x0cH\x00\x015F\x13\x00\x0cJ\x00\x014G\x13\x00\r\x05'
2018-11-19 17:59:49.355 (Broadlink) Code Sent....
2018-11-19 17:59:49.272 Status: User: Admin initiated a switch command (24/Broadlink - Command/Set Level)
2018-11-19 17:59:51.160 (Broadlink) Pushing 'onCommandCallback' on to queue
2018-11-19 17:59:51.208 (Broadlink) Processing 'onCommandCallback' message
2018-11-19 17:59:51.208 (Broadlink) Calling message handler 'onCommand'.
2018-11-19 17:59:51.208 (Broadlink) onCommand called for Unit 1: Parameter 'Set Level', Level: 30 , Connected : True
2018-11-19 17:59:51.214 (Broadlink) ini file creation..../home/pi/domoticz/broadlink/BroadlinkRM2-6-8.ini
2018-11-19 17:59:51.214 (Broadlink) Creating device '6-8 '.
2018-11-19 17:59:51.216 (Broadlink) <b> Command line : "/home/pi/domoticz/plugins/broadlink/plugin_send.py" /home/pi/domoticz/broadlink/BroadlinkRM2-6-8.ini </b>
2018-11-19 17:59:51.217 (Broadlink - Command) Updating device from 1:'20' to have values 1:'10'.
2018-11-19 17:59:51.225 (Broadlink) Update 1:'10' (Broadlink - Command)
2018-11-19 17:59:51.160 Status: User: Admin initiated a switch command (24/Broadlink - Command/Set Level)
2018-11-19 17:59:56.918 (Xiaomi Gateway) Light/Switch (PIR Salon)
2018-11-19 18:00:00.033 Status: Starting automatic database backup procedure...
2018-11-19 18:00:00.153 Status: Ending automatic database backup procedure...
2018-11-19 18:00:01.896 (Broadlink) Pushing 'onHeartbeatCallback' on to queue
2018-11-19 18:00:01.942 (Broadlink) Processing 'onHeartbeatCallback' message
2018-11-19 18:00:01.942 (Broadlink) Calling message handler 'onHeartbeat'.
2018-11-19 18:00:06.428 (Broadlink) Pushing 'CPluginMessageBase' on to queue
2018-11-19 18:00:06.452 (Broadlink) Processing 'CPluginMessageBase' message
2018-11-19 18:00:06.452 (Broadlink) Message handler 'onDeviceModified' not callable, ignored.
2018-11-19 18:00:06.428 Status: EventSystem: reset all device statuses...
2018-11-19 18:00:12.638 (Broadlink) Pushing 'onCommandCallback' on to queue
2018-11-19 18:00:12.663 (Broadlink) Processing 'onCommandCallback' message
2018-11-19 18:00:12.663 (Broadlink) Calling message handler 'onCommand'.
2018-11-19 18:00:12.663 (Broadlink) onCommand called for Unit 1: Parameter 'Set Level', Level: 10 , Connected : True
2018-11-19 18:00:12.663 (Broadlink) All plugin system is on pause for 5s...
2018-11-19 18:00:12.663 (Broadlink) When Broadlink led is lit press the button on your remote within 5 seconds
2018-11-19 18:00:12.637 Status: User: Admin initiated a switch command (24/Broadlink - Command/Set Level)
2018-11-19 18:00:17.671 (Broadlink) b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
2018-11-19 18:00:17.671 (Broadlink) 000000000000000000000000
2018-11-19 18:00:17.671 (Broadlink) Code stored in memory
2018-11-19 18:00:17.671 (Broadlink - Command) Updating device from 1:'10' to have values 1:'20'.
2018-11-19 18:00:17.680 (Broadlink) Update 1:'20' (Broadlink - Command)
2018-11-19 18:00:22.931 (Broadlink) Pushing 'onCommandCallback' on to queue
2018-11-19 18:00:22.939 (Broadlink) Processing 'onCommandCallback' message
2018-11-19 18:00:22.939 (Broadlink) Calling message handler 'onCommand'.
2018-11-19 18:00:22.939 (Broadlink) onCommand called for Unit 1: Parameter 'Set Level', Level: 10 , Connected : True
2018-11-19 18:00:22.939 (Broadlink) All plugin system is on pause for 5s...
2018-11-19 18:00:22.939 (Broadlink) When Broadlink led is lit press the button on your remote within 5 seconds
2018-11-19 18:00:22.931 Status: User: Admin initiated a switch command (24/Broadlink - Command/Set Level)
2018-11-19 18:00:27.947 (Broadlink) b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
2018-11-19 18:00:27.947 (Broadlink) 000000000000000000000000
2018-11-19 18:00:27.947 (Broadlink) Code stored in memory
2018-11-19 18:00:31.065 (Broadlink) Pushing 'onCommandCallback' on to queue
2018-11-19 18:00:31.102 (Broadlink) Processing 'onCommandCallback' message
2018-11-19 18:00:31.102 (Broadlink) Calling message handler 'onCommand'.
2018-11-19 18:00:31.103 (Broadlink) onCommand called for Unit 1: Parameter 'Set Level', Level: 10 , Connected : True
2018-11-19 18:00:31.103 (Broadlink) All plugin system is on pause for 5s...
2018-11-19 18:00:31.103 (Broadlink) When Broadlink led is lit press the button on your remote within 5 seconds
2018-11-19 18:00:31.900 (Broadlink) Pushing 'onHeartbeatCallback' on to queue
2018-11-19 18:00:31.065 Status: User: Admin initiated a switch command (24/Broadlink - Command/Set Level)
2018-11-19 18:00:36.110 (Broadlink) b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
2018-11-19 18:00:36.111 (Broadlink) 000000000000000000000000
2018-11-19 18:00:36.111 (Broadlink) Code stored in memory