Skip to content

Upgrade paho-mqtt to 1.2.3#7214

Merged
fabaff merged 1 commit into
home-assistant:devfrom
fabaff:upgrade-paho-mqtt
Apr 23, 2017
Merged

Upgrade paho-mqtt to 1.2.3#7214
fabaff merged 1 commit into
home-assistant:devfrom
fabaff:upgrade-paho-mqtt

Conversation

@fabaff
Copy link
Copy Markdown
Member

@fabaff fabaff commented Apr 22, 2017

1.2.3

  • Fix possible hang of TLS connection during handshake.
  • Fix issue with publish helper with TLS connection.
  • Fix installation issue on non-UTF-8 system.
  • Fix non-working Websocket over TLS connection.

Fixes : #7219, #7268

Tested with the following configuration:

mqtt:
  broker: localhost

binary_sensor:
  - platform: mqtt
    name: Bathroom door
    state_topic: "home/bathroom/door"
    payload_on: "1"
    payload_off: "0"
    device_class: opening
$ mosquitto_pub -h localhost -t "home/bathroom/door" -m 1
$ mosquitto_pub -h localhost -t "home/bathroom/door" -m 0

17-04-22 10:17:58 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: old_state=<state binary_sensor.bathroom_door=off; friendly_name=Bathroom door, device_class=opening @ 2017-04-22T10:17:13.217418+02:00>, new_state=<state binary_sensor.bathroom_door=on; friendly_name=Bathroom door, device_class=opening @ 2017-04-22T10:17:58.367423+02:00>, entity_id=binary_sensor.bathroom_door>
17-04-22 10:18:01 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: old_state=<state binary_sensor.bathroom_door=on; friendly_name=Bathroom door, device_class=opening @ 2017-04-22T10:17:58.367423+02:00>, new_state=<state binary_sensor.bathroom_door=off; friendly_name=Bathroom door, device_class=opening @ 2017-04-22T10:18:01.383566+02:00>, entity_id=binary_sensor.bathroom_door>

@mention-bot
Copy link
Copy Markdown

@fabaff, thanks for your PR! By analyzing the history of the files in this pull request, we identified @hmn, @balloob and @pvizeli to be potential reviewers.

@rbflurry
Copy link
Copy Markdown
Contributor

+1 Fixed the mqtt startup issue for me after upgrading to 0.43.0

@hoopty
Copy link
Copy Markdown
Contributor

hoopty commented Apr 22, 2017

+1 Fixed for me as well, thanks!

@fabaff fabaff merged commit ec5e9fc into home-assistant:dev Apr 23, 2017
@fabaff fabaff deleted the upgrade-paho-mqtt branch April 23, 2017 07:25
@balloob
Copy link
Copy Markdown
Member

balloob commented Apr 25, 2017

Cherry picked for 0.43.1

balloob pushed a commit that referenced this pull request Apr 25, 2017
@balloob balloob mentioned this pull request Apr 25, 2017
@balloob balloob mentioned this pull request May 5, 2017
@home-assistant home-assistant locked and limited conversation to collaborators Aug 12, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants