Closed PianSom closed 7 years ago
Is it 100% reproducible?
Sadly not 100%. Just random.
But regular - here's a cat mqtt.log | grep ERROR showing timings for the last few days:
[2017-04-12 16:23:08,505] ERROR Error [2017-04-12 16:23:09,519] ERROR Error [2017-04-12 16:23:11,633] ERROR Error [2017-04-12 16:23:13,024] ERROR Error [2017-04-12 16:23:19,332] ERROR Error [2017-04-12 20:40:14,112] ERROR Error [2017-04-12 20:41:27,007] ERROR Error [2017-04-12 20:46:27,742] ERROR Error [2017-04-12 20:50:48,927] ERROR Error [2017-04-12 20:50:48,975] ERROR Error [2017-04-12 20:50:50,963] ERROR Error [2017-04-12 20:51:07,947] ERROR Error [2017-04-12 20:51:08,856] ERROR Error [2017-04-12 20:51:09,534] ERROR Error [2017-04-12 20:51:10,279] ERROR Error [2017-04-12 20:51:10,821] ERROR Error [2017-04-12 20:51:13,381] ERROR Error [2017-04-12 20:53:24,697] ERROR Error [2017-04-12 20:53:26,746] ERROR Error [2017-04-12 20:53:27,891] ERROR Error [2017-04-12 20:53:29,684] ERROR Error [2017-04-12 20:53:33,093] ERROR Error [2017-04-12 21:01:50,934] ERROR Error [2017-04-12 21:09:00,572] ERROR Error [2017-04-12 21:09:02,914] ERROR Error [2017-04-12 21:09:21,632] ERROR Error [2017-04-12 21:09:35,189] ERROR Error [2017-04-12 21:09:45,620] ERROR Error [2017-04-12 21:10:41,183] ERROR Error [2017-04-12 21:11:01,364] ERROR Error [2017-04-13 09:52:55,315] ERROR Error [2017-04-13 09:52:58,327] ERROR Error [2017-04-13 09:52:59,923] ERROR Error [2017-04-13 09:53:00,990] ERROR Error [2017-04-13 09:53:01,711] ERROR Error [2017-04-13 09:53:02,625] ERROR Error [2017-04-13 09:53:52,885] ERROR Error [2017-04-13 09:53:58,703] ERROR Error [2017-04-13 09:54:05,462] ERROR Error [2017-04-14 06:08:10,048] ERROR Error [2017-04-14 11:24:52,934] ERROR Error [2017-04-14 11:25:20,636] ERROR Error [2017-04-14 13:05:34,529] ERROR Error [2017-04-14 13:06:09,572] ERROR Error [2017-04-14 13:06:10,582] ERROR Error
It could be related to network issues because it fails waiting for UDP confirmation message from the device If not - then you should report this issue to the https://github.com/mjg59/python-broadlink/issues tracker BTW it looks similar to https://github.com/mjg59/python-broadlink/issues/45 issue and it should be fixed at next release
Can you update your code? https://github.com/mjg59/python-broadlink already updated.
@ip-ua are you asking me or @PianSom ?
You
On Thu, May 11, 2017 at 2:54 PM, Eugene Schava notifications@github.com wrote:
@ip-ua https://github.com/ip-ua are you asking me or @PianSom https://github.com/PianSom ?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/eschava/broadlink-mqtt/issues/9#issuecomment-300767136, or mute the thread https://github.com/notifications/unsubscribe-auth/AXtDWkf2frxUZSgGSr9BeCXCC5mbcpNrks5r4vcNgaJpZM4M9unm .
@ip-ua python-broadlink is used by my project as an external library and doesn't include it. API was not changed after last fixes. What exactly I have to update?
So, fi I understand correctly, I just have to reinstall your project and it will be automatically updated?
On Thu, May 11, 2017 at 3:07 PM, Eugene Schava notifications@github.com wrote:
@ip-ua https://github.com/ip-ua python-broadlink is used by my project as an external library and doesn't include it. API was not changed after last fixes. What exactly I have to update?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/eschava/broadlink-mqtt/issues/9#issuecomment-300769562, or mute the thread https://github.com/notifications/unsubscribe-auth/AXtDWr9eP0Ptgm2wOa3g9bJlLj7R7gXxks5r4vnkgaJpZM4M9unm .
@ip-ua No, it depends on the way how python-broadlink is installed in your system
E.g. if it was installed using pip you have to execute command
pip install --upgrade python-broadlink
to upgrade it to the latest version
Hi I am regularly getting the following crash when replaying a 433MHz file:
[2017-04-14 11:25:20,636] ERROR Error Traceback (most recent call last): File "/home/pi/mqtt-py/mqtt.py", line 83, in on_message replay(device, file) File "/home/pi/mqtt-py/mqtt.py", line 141, in replay device.send_data(ir_packet.decode('hex')) File "/usr/local/lib/python2.7/dist-packages/broadlink/init.py", line 450, in send_data self.send_packet(0x6a, packet) File "/usr/local/lib/python2.7/dist-packages/broadlink/init.py", line 250, in send_packet response = self.cs.recvfrom(1024) timeout: timed out
Any suggestions?
Thanks