Chamberlain MyQ Binding

Thanks :slight_smile:, how do I get online status? or is that not possible at all now?

I may add it but Iā€™m trying to focus all development on 2.5 as 1.x is EOL of wonā€™t be supported in openHAB 3.

new binding not working for me. Itā€™s obviously talking to myq and getting info, but itā€™s not translating to devices?

openhab> bundle:list |grep myq
305 ā”‚ Active ā”‚ 80 ā”‚ 1.14.0.201911061822 ā”‚ openHAB myq Binding

I tried using either serial number or ā€œnameā€ in items def:

Switch	Garage2	"2Car [%s]"			{ myq="CG000000789C"} 
Switch	Garage1	"Scooter [%s]"			{ myq="Scooter"}

it talks to myq and gets json

[DEBUG] [myq.internal.MyqData] - {"href":"http://api.myqdevice.com/api/v5/accounts/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/devices",
"count":3,
"items":[{"href":"http://api.myqdevice.com/api/v5/accounts/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/devices/CG000000789D",
"serial_number":"CG000000789D","device_family":"garagedoor","device_platform":"myq","device_type":"virtualgaragedooropener",
"name":"2car","parent_device":"http://api.myqdevice.com/api/v5/accounts/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/devices/GW000000BC4E",
"parent_device_id":"GW000000BC4E","created_date":"2016-01-31T22:20:30.663","state":{"dps_low_battery_mode":false,"monitor_only_mode":false,"number_of_learned_dps_devices":1,"sensor_comm_error":false,
"door_state":"closed","open":"http://api.myqdevice.com/api/v5/accounts/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/devices/CG000000789D/open","close":"http://api.myqdevice.com/api/v5/accounts/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/devices/CG000000789D/close","last_update":"2019-11-06T22:14:15.0879214Z","passthrough_interval":"00:00:00","door_ajar_interval":"00:00:00","invalid_credential_window":"00:00:00","invalid_shutout_period":"00:00:00","is_unattended_open_allowed":true,"is_unattended_close_allowed":true,"aux_relay_delay":"00:00:00","use_aux_relay":false,"aux_relay_behavior":"None","rex_fires_door":false,"command_channel_report_status":false,"control_from_browser":false,"report_forced":false,"report_ajar":false,"max_invalid_attempts":0,
"online":true,"last_status":"2019-11-07T00:18:09.0087322Z"}},

{"href":"http://api.myqdevice.com/api/v5/accounts/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/devices/CG000000789C",
"serial_number":"CG000000789C","device_family":"garagedoor","device_platform":"myq","device_type":"virtualgaragedooropener",
"name":"Scooter","parent_device":"http://api.myqdevice.com/api/v5/accounts/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/devices/GW000000BC4E","parent_device_id":"GW000000BC4E","created_date":"2019-06-02T16:14:16.177","state":{"dps_low_battery_mode":false,"monitor_only_mode":false,"number_of_learned_dps_devices":1,"sensor_comm_error":false,
"door_state":"closed","open":"http://api.myqdevice.com/api/v5/accounts/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/devices/CG000000789C/open","close":"http://api.myqdevice.com/api/v5/accounts/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/devices/CG000000789C/close","last_update":"2019-11-03T18:00:41.4400788Z","passthrough_interval":"00:00:00","door_ajar_interval":"00:00:00","invalid_credential_window":"00:00:00","invalid_shutout_period":"00:00:00","is_unattended_open_allowed":true,"is_unattended_close_allowed":true,"aux_relay_delay":"00:00:00","use_aux_relay":false,"aux_relay_behavior":"None","rex_fires_door":false,"command_channel_report_status":false,"control_from_browser":false,"report_forced":false,"report_ajar":false,"max_invalid_attempts":0,
"online":true,"last_status":"2019-11-07T00:20:39.7802741Z"}},

{"href":"http://api.myqdevice.com/api/v5/accounts/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/devices/GW000000BC4E",
"serial_number":"GW000000BC4E","device_family":"gateway","device_platform":"myq","device_type":"hub",
"name":"home","created_date":"2016-01-31T22:20:30.65",
"state":{"firmware_version":"9.3","homekit_capable":false,"homekit_enabled":false,"learn":"http://api.myqdevice.com/api/v5/accounts/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/devices/GW000000BC4E/learn","learn_mode":false,"updated_date":"2019-11-07T00:20:39.7802741Z",
"physical_devices":["CG000000789C","CG000000789D"],"pending_bootload_abandoned":false,"online":true,"last_status":"2019-11-07T00:20:39.7802741Z"}}]}

And I notice a DEBUG output that seems to be saying it couldnā€™t parse this into devices because nothing follows the colon

[DEBUG] [myq.internal.MyqDeviceData] - Chamberlain MyQ Devices:

But when I try to operate switch, I get ā€œno MyQ device foundā€:

[WARN ] [myq.internal.MyqBinding] - no MyQ device found with deviceID: CG000000789C
[WARN ] [myq.internal.MyqBinding] - no MyQ device found with deviceID: Scooter
1 Like

I think Iā€™m not understanding how to use the id or serial. Iā€™m still getting no MyQ device found with deviceID:

deviceid is the name I selected for my door opener in the app right? I also tried serial, no go

Switch GarageDoorSwitch ā€œPorte de garageā€ (garage) [Switchable] {myq=ā€œ123456789ā€}

I too have this tame type of issue. I can now connect but it doesnā€™t recognize name or serial

Can you give more details about what garage door opener you are using. By looking at the JSON it is not the same type of device as mine. Itā€™s device type is a ā€œvirtualgaragedooropenerā€. I uploaded a new version of the binding and tried to add support for it.

Thanks,
Scott

1 Like

Iā€™ve got a MYQ device - and that last update cleared it upā€¦ all is working now thank you!

MyQ Smart Garage Door Opener Chamberlain MYQ-G0301 - Wireless & Wi-Fi enabled Garage Hub with Smartphone Control https://www.amazon.com/dp/B075H7Z5L8/ref=cm_sw_r_cp_api_i_IH3WDb4X1V9QP

This is the device

just turned on trace logging. it detect 2 device, the hub and wifigarageopener. I tried both name and serial umber, both doesnā€™t work

2019-11-06 21:00:00.821 [TRACE] [org.openhab.binding.myq.internal.MyqBinding] - MyQ binding received command 'ON' for item 'GarageDoorSwitch'
2019-11-06 21:00:00.822 [TRACE] [org.openhab.binding.myq.internal.MyqData] - Retrieving door data
2019-11-06 21:00:00.823 [TRACE] [org.openhab.binding.myq.internal.MyqData] - Requesting URL https://api.myqdevice.com/api/v5/Accounts/dee3d1e5-d579-4341-9d32-e6cb0f4f1e86/Devices
2019-11-06 21:00:00.824 [TRACE] [org.openhab.binding.myq.internal.MyqData] - About to execute 'https://api.myqdevice.com/api/v5/Accounts/dee3d1e5-d579-4341-9d32-e6cb0f4f1e86/Devices'
2019-11-06 21:00:01.086 [DEBUG] [org.openhab.binding.myq.internal.MyqData] - {"href":"http://api.myqdevice.com/api/v5/accounts/dee3d1e5-d579-4341-9d32-e6cb0f4f1e86/devices","count":2,"items":[{"href":"http://api.myqdevice.com/api/v5/accounts/dee3d1e5-d579-4341-9d32-e6cb0f4f1e86/devices/CG086F062F7A","serial_number":"CG086F062F7A","device_family":"garagedoor","device_platform":"myq","device_type":"wifigaragedooropener","name":"GarageDoorOpener","parent_device":"http://api.myqdevice.com/api/v5/accounts/dee3d1e5-d579-4341-9d32-e6cb0f4f1e86/devices/GW0F000317BD","parent_device_id":"GW0F000317BD","created_date":"2016-07-29T20:44:40.267","state":{"gdo_lock_connected":false,"attached_work_light_error_present":false,"door_state":"closed","open":"http://api.myqdevice.com/api/v5/accounts/dee3d1e5-d579-4341-9d32-e6cb0f4f1e86/devices/CG086F062F7A/open","close":"http://api.myqdevice.com/api/v5/accounts/dee3d1e5-d579-4341-9d32-e6cb0f4f1e86/devices/CG086F062F7A/close","last_update":"2019-11-06T22:18:14.8492683Z","passthrough_interval":"00:00:00","door_ajar_interval":"00:00:00","invalid_credential_window":"00:00:00","invalid_shutout_period":"00:00:00","is_unattended_open_allowed":true,"is_unattended_close_allowed":true,"aux_relay_delay":"00:00:00","use_aux_relay":false,"aux_relay_behavior":"None","rex_fires_door":false,"command_channel_report_status":false,"control_from_browser":false,"report_forced":false,"report_ajar":false,"max_invalid_attempts":0,"online":true,"last_status":"2019-11-07T02:01:29.603536Z"}},{"href":"http://api.myqdevice.com/api/v5/accounts/dee3d1e5-d579-4341-9d32-e6cb0f4f1e86/devices/GW0F000317BD","serial_number":"GW0F000317BD","device_family":"gateway","device_platform":"myq","device_type":"wifigdogateway","name":"home","created_date":"2016-07-29T20:44:40.25","state":{"firmware_version":"3.5","homekit_capable":false,"homekit_enabled":false,"learn":"http://api.myqdevice.com/api/v5/accounts/dee3d1e5-d579-4341-9d32-e6cb0f4f1e86/devices/GW0F000317BD/learn","learn_mode":false,"updated_date":"2019-11-07T02:01:29.603536Z","physical_devices":["CG086F062F7A"],"pending_bootload_abandoned":false,"online":true,"last_status":"2019-11-07T02:01:29.603536Z"}}]}
2019-11-06 21:00:01.087 [TRACE] [org.openhab.binding.myq.internal.MyqData] - Received MyQ JSON: {"href":"http://api.myqdevice.com/api/v5/accounts/dee3d1e5-d579-4341-9d32-e6cb0f4f1e86/devices","count":2,"items":[{"href":"http://api.myqdevice.com/api/v5/accounts/dee3d1e5-d579-4341-9d32-e6cb0f4f1e86/devices/CG086F062F7A","serial_number":"CG086F062F7A","device_family":"garagedoor","device_platform":"myq","device_type":"wifigaragedooropener","name":"GarageDoorOpener","parent_device":"http://api.myqdevice.com/api/v5/accounts/dee3d1e5-d579-4341-9d32-e6cb0f4f1e86/devices/GW0F000317BD","parent_device_id":"GW0F000317BD","created_date":"2016-07-29T20:44:40.267","state":{"gdo_lock_connected":false,"attached_work_light_error_present":false,"door_state":"closed","open":"http://api.myqdevice.com/api/v5/accounts/dee3d1e5-d579-4341-9d32-e6cb0f4f1e86/devices/CG086F062F7A/open","close":"http://api.myqdevice.com/api/v5/accounts/dee3d1e5-d579-4341-9d32-e6cb0f4f1e86/devices/CG086F062F7A/close","last_update":"2019-11-06T22:18:14.8492683Z","passthrough_interval":"00:00:00","door_ajar_interval":"00:00:00","invalid_credential_window":"00:00:00","invalid_shutout_period":"00:00:00","is_unattended_open_allowed":true,"is_unattended_close_allowed":true,"aux_relay_delay":"00:00:00","use_aux_relay":false,"aux_relay_behavior":"None","rex_fires_door":false,"command_channel_report_status":false,"control_from_browser":false,"report_forced":false,"report_ajar":false,"max_invalid_attempts":0,"online":true,"last_status":"2019-11-07T02:01:29.603536Z"}},{"href":"http://api.myqdevice.com/api/v5/accounts/dee3d1e5-d579-4341-9d32-e6cb0f4f1e86/devices/GW0F000317BD","serial_number":"GW0F000317BD","device_family":"gateway","device_platform":"myq","device_type":"wifigdogateway","name":"home","created_date":"2016-07-29T20:44:40.25","state":{"firmware_version":"3.5","homekit_capable":false,"homekit_enabled":false,"learn":"http://api.myqdevice.com/api/v5/accounts/dee3d1e5-d579-4341-9d32-e6cb0f4f1e86/devices/GW0F000317BD/learn","learn_mode":false,"updated_date":"2019-11-07T02:01:29.603536Z","physical_devices":["CG086F062F7A"],"pending_bootload_abandoned":false,"online":true,"last_status":"2019-11-07T02:01:29.603536Z"}}]}
2019-11-06 21:00:01.088 [DEBUG] [org.openhab.binding.myq.internal.MyqDeviceData] - Chamberlain MyQ Devices:
2019-11-06 21:00:01.088 [WARN ] [org.openhab.binding.myq.internal.MyqBinding] - no MyQ device found with deviceID: GW0F000317BD
2019-11-06 21:00:10.901 [TRACE] [org.openhab.binding.myq.internal.MyqData] - Retrieving door data
2019-11-06 21:00:10.902 [TRACE] [org.openhab.binding.myq.internal.MyqData] - Requesting URL https://api.myqdevice.com/api/v5/Accounts/dee3d1e5-d579-4341-9d32-e6cb0f4f1e86/Devices
2019-11-06 21:00:10.902 [TRACE] [org.openhab.binding.myq.internal.MyqData] - About to execute 'https://api.myqdevice.com/api/v5/Accounts/dee3d1e5-d579-4341-9d32-e6cb0f4f1e86/Devices'
2019-11-06 21:00:11.043 [DEBUG] [org.openhab.binding.myq.internal.MyqData] - {"href":"http://api.myqdevice.com/api/v5/accounts/dee3d1e5-d579-4341-9d32-e6cb0f4f1e86/devices","count":2,"items":[{"href":"http://api.myqdevice.com/api/v5/accounts/dee3d1e5-d579-4341-9d32-e6cb0f4f1e86/devices/CG086F062F7A","serial_number":"CG086F062F7A","device_family":"garagedoor","device_platform":"myq","device_type":"wifigaragedooropener","name":"GarageDoorOpener","parent_device":"http://api.myqdevice.com/api/v5/accounts/dee3d1e5-d579-4341-9d32-e6cb0f4f1e86/devices/GW0F000317BD","parent_device_id":"GW0F000317BD","created_date":"2016-07-29T20:44:40.267","state":{"gdo_lock_connected":false,"attached_work_light_error_present":false,"door_state":"closed","open":"http://api.myqdevice.com/api/v5/accounts/dee3d1e5-d579-4341-9d32-e6cb0f4f1e86/devices/CG086F062F7A/open","close":"http://api.myqdevice.com/api/v5/accounts/dee3d1e5-d579-4341-9d32-e6cb0f4f1e86/devices/CG086F062F7A/close","last_update":"2019-11-06T22:18:14.8492683Z","passthrough_interval":"00:00:00","door_ajar_interval":"00:00:00","invalid_credential_window":"00:00:00","invalid_shutout_period":"00:00:00","is_unattended_open_allowed":true,"is_unattended_close_allowed":true,"aux_relay_delay":"00:00:00","use_aux_relay":false,"aux_relay_behavior":"None","rex_fires_door":false,"command_channel_report_status":false,"control_from_browser":false,"report_forced":false,"report_ajar":false,"max_invalid_attempts":0,"online":true,"last_status":"2019-11-07T02:01:29.603536Z"}},{"href":"http://api.myqdevice.com/api/v5/accounts/dee3d1e5-d579-4341-9d32-e6cb0f4f1e86/devices/GW0F000317BD","serial_number":"GW0F000317BD","device_family":"gateway","device_platform":"myq","device_type":"wifigdogateway","name":"home","created_date":"2016-07-29T20:44:40.25","state":{"firmware_version":"3.5","homekit_capable":false,"homekit_enabled":false,"learn":"http://api.myqdevice.com/api/v5/accounts/dee3d1e5-d579-4341-9d32-e6cb0f4f1e86/devices/GW0F000317BD/learn","learn_mode":false,"updated_date":"2019-11-07T02:01:29.603536Z","physical_devices":["CG086F062F7A"],"pending_bootload_abandoned":false,"online":true,"last_status":"2019-11-07T02:01:29.603536Z"}}]}
2019-11-06 21:00:11.044 [TRACE] [org.openhab.binding.myq.internal.MyqData] - Received MyQ JSON: {"href":"http://api.myqdevice.com/api/v5/accounts/dee3d1e5-d579-4341-9d32-e6cb0f4f1e86/devices","count":2,"items":[{"href":"http://api.myqdevice.com/api/v5/accounts/dee3d1e5-d579-4341-9d32-e6cb0f4f1e86/devices/CG086F062F7A","serial_number":"CG086F062F7A","device_family":"garagedoor","device_platform":"myq","device_type":"wifigaragedooropener","name":"GarageDoorOpener","parent_device":"http://api.myqdevice.com/api/v5/accounts/dee3d1e5-d579-4341-9d32-e6cb0f4f1e86/devices/GW0F000317BD","parent_device_id":"GW0F000317BD","created_date":"2016-07-29T20:44:40.267","state":{"gdo_lock_connected":false,"attached_work_light_error_present":false,"door_state":"closed","open":"http://api.myqdevice.com/api/v5/accounts/dee3d1e5-d579-4341-9d32-e6cb0f4f1e86/devices/CG086F062F7A/open","close":"http://api.myqdevice.com/api/v5/accounts/dee3d1e5-d579-4341-9d32-e6cb0f4f1e86/devices/CG086F062F7A/close","last_update":"2019-11-06T22:18:14.8492683Z","passthrough_interval":"00:00:00","door_ajar_interval":"00:00:00","invalid_credential_window":"00:00:00","invalid_shutout_period":"00:00:00","is_unattended_open_allowed":true,"is_unattended_close_allowed":true,"aux_relay_delay":"00:00:00","use_aux_relay":false,"aux_relay_behavior":"None","rex_fires_door":false,"command_channel_report_status":false,"control_from_browser":false,"report_forced":false,"report_ajar":false,"max_invalid_attempts":0,"online":true,"last_status":"2019-11-07T02:01:29.603536Z"}},{"href":"http://api.myqdevice.com/api/v5/accounts/dee3d1e5-d579-4341-9d32-e6cb0f4f1e86/devices/GW0F000317BD","serial_number":"GW0F000317BD","device_family":"gateway","device_platform":"myq","device_type":"wifigdogateway","name":"home","created_date":"2016-07-29T20:44:40.25","state":{"firmware_version":"3.5","homekit_capable":false,"homekit_enabled":false,"learn":"http://api.myqdevice.com/api/v5/accounts/dee3d1e5-d579-4341-9d32-e6cb0f4f1e86/devices/GW0F000317BD/learn","learn_mode":false,"updated_date":"2019-11-07T02:01:29.603536Z","physical_devices":["CG086F062F7A"],"pending_bootload_abandoned":false,"online":true,"last_status":"2019-11-07T02:01:29.603536Z"}}]}
2019-11-06 21:00:11.045 [DEBUG] [org.openhab.binding.myq.internal.MyqDeviceData] - Chamberlain MyQ Devices:

Scott,

I can confirm this latest version works for me. Thank you for the great work!

My garage door opener is a LiftMaster 8550WL.

Thanks.

I updated the binding again to add support for the ā€œwifigaragedooropenerā€ opener type.

2 Likes

You da man!
Thanks, this version worked for me.

1.14.0.201911070151

I have a Chamberlain MyQ, specifically, Model on the back says MyQ-G0201, Date 10/'15

that works! thank you

quick question. I have a switch for the opener and when I press to open, the switch turn on, then off after 2 sec then back on after another 2 sec. When I close,it does the opposite. Is there a way to prevent that? Since I cannot use the status # anymore, thatā€™s the only way I have to fire trigger on door open / close event but now, it triger 2x on and 1x off when i open the door.

thanks

add autoupdate=ā€œfalseā€ to your item configuration file.

Switch GarageDoorOpener 	"Garage Door" 	{myq="CG0810243E7F", autoupdate="false"}

I am using 1.14.0.201911070244 binding version and am getting a wall of these messages in the log:

2019-11-06 23:12:58.089 [WARN ] [he.commons.httpclient.HttpMethodBase] - Cookie rejected: "$Version=0; TS01dfdd0d=015ca84662e9b9f716ef4df0792103c48e7b807fdd808d4e254e4fe98b50fcb9d37c70c97e7163e2b7ead82ba3a22c1e2e3735f2f6; $Path=/; $Domain=.api.myqdevice.com". Illegal domain attribute ".api.myqdevice.com". Domain of origin: "api.myqdevice.com"

2019-11-06 23:12:58.090 [DEBUG] [openhab.binding.myq.internal.MyqData] - Method failed: HTTP/1.1 401 Unauthorized

2019-11-06 23:12:58.091 [DEBUG] [openhab.binding.myq.internal.MyqData] - {"code":"401.413","message":"Unauthorized","description":"We are no longer supporting this app. Please download our new app \"myQ Garage & Access Control\""}

2019-11-06 23:12:58.200 [WARN ] [he.commons.httpclient.HttpMethodBase] - Cookie rejected: "$Version=0; TS01dfdd0d=015ca84662d2e20c060aa606399544085d3b78d85e303eb5ae270ca149778e2fb7ba5dbf1857cc56f3c46324057db6a737022d5785; $Path=/; $Domain=.api.myqdevice.com". Illegal domain attribute ".api.myqdevice.com". Domain of origin: "api.myqdevice.com"

2019-11-06 23:12:58.201 [DEBUG] [openhab.binding.myq.internal.MyqData] - Method failed: HTTP/1.1 401 Unauthorized

2019-11-06 23:12:58.203 [DEBUG] [openhab.binding.myq.internal.MyqData] - {"code":"401.413","message":"Unauthorized","description":"We are no longer supporting this app. Please download our new app \"myQ Garage & Access Control\""}

2019-11-06 23:12:58.352 [WARN ] [he.commons.httpclient.HttpMethodBase] - Cookie rejected: "$Version=0; TS01dfdd0d=01474093dc90b77dc18048f755bfb17199484bde4704b6b2f31dc95474798cf940a16c30307c7a589c443e774a4570583ee42b4073; $Path=/; $Domain=.api.myqdevice.com". Illegal domain attribute ".api.myqdevice.com". Domain of origin: "api.myqdevice.com"

2019-11-06 23:12:58.353 [DEBUG] [openhab.binding.myq.internal.MyqData] - Method failed: HTTP/1.1 401 Unauthorized

2019-11-06 23:12:58.353 [DEBUG] [openhab.binding.myq.internal.MyqData] - {"code":"401.413","message":"Unauthorized","description":"We are no longer supporting this app. Please download our new app \"myQ Garage & Access Control\""}

my garage also isnā€™t responding to commands

items file below:

Switch GarageDoorSwitch "Garage Door Open" <garagedoor> (PersistGarage) {myq="CG086017D5D9", autoupdate="false"}

Contact GarageDoorContact "Garage Door [%s]" <garagedoor> {myq="CG086017D5D9", autoupdate="false"}

String GarageDoorString "Garage Door [%s]" <garagedoor> {myq="CG086017D5D9", autoupdate="false"}

Rollershutter GarageDoorShutter "Garage Door Open" <garagedoor> {myq="CG086017D5D9", autoupdate="false"}

Do you have a user agent specified in the config? Iā€™d start with ensuring that isnā€™t hard coded as that mentioned that can now cause issues.

Here is my config, no user agent specified.

# Data refresh interval in ms (optional, defaults to 60000)

refresh=30000

# Data refresh interval after Event is trigger in ms (optional, defaults to 2000)

#quickrefresh=2000

# Timeout for HTTP requests (optional, defaults to 5000)

timeout=25000

# Chamberlain MyQ Username and Password

username=XXXXX

password=XXXX

# Application ID for the MyQ API (optional, only recommended if existing ID ceases to work)

#appId=NWknvuBd7LoFHfXmKNMBcgajXtZEgKUh4V7WNzMidrpUUluDpVYVZx+xT4PCM5Kx

Donā€™t change the refresh from 60seconds.
MyQ does not like frequent polls. Especially with many devices.
I disabled fast poll because I have like 15 MyQ devices.

in the Karaf console double check which binding you have loaded. You may need to clear the cache and restart OH. Sometimes even after you drop in the new JAR its still running the old JAR in memory.
The Error looks like itā€™s trying to connecting using the older API which is used in the older JAR.

I changed the refresh to 60,000 in the myq.cfg file.
I also rebooted, cleared the cache, downloaded the new binding and added it to the add-ons folder, rebooted again. Same error messages filling the logs. Here is what I am seeing from the Kara console.

262 ā”‚ Active ā”‚ 80 ā”‚ 1.14.0.201911070244 ā”‚ openHAB myq Binding

This also from the logs

2019-11-07 12:25:13.014 [ERROR] [openhab.binding.myq.internal.MyqData] - Fatal transport error: java.net.SocketException: Connection reset

2019-11-07 12:25:13.015 [ERROR] [nhab.binding.myq.internal.MyqBinding] - Could not connect to MyQ service

java.io.IOException: Null response from MyQ server

	at org.openhab.binding.myq.internal.MyqData.request(MyqData.java:275) ~[262:org.openhab.binding.myq:1.14.0.201911070244]

	at org.openhab.binding.myq.internal.MyqData.login(MyqData.java:160) ~[262:org.openhab.binding.myq:1.14.0.201911070244]

	at org.openhab.binding.myq.internal.MyqData.request(MyqData.java:305) ~[262:org.openhab.binding.myq:1.14.0.201911070244]

	at org.openhab.binding.myq.internal.MyqData.login(MyqData.java:160) ~[262:org.openhab.binding.myq:1.14.0.201911070244]

	at org.openhab.binding.myq.internal.MyqData.request(MyqData.java:305) ~[262:org.openhab.binding.myq:1.14.0.201911070244]

	at org.openhab.binding.myq.internal.MyqData.login(MyqData.java:160) ~[262:org.openhab.binding.myq:1.14.0.201911070244]

	at org.openhab.binding.myq.internal.MyqData.request(MyqData.java:305) ~[262:org.openhab.binding.myq:1.14.0.201911070244]

	at org.openhab.binding.myq.internal.MyqData.login(MyqData.java:160) ~[262:org.openhab.binding.myq:1.14.0.201911070244]

	at org.openhab.binding.myq.internal.MyqData.request(MyqData.java:305) ~[262:org.openhab.binding.myq:1.14.0.201911070244]

	at org.openhab.binding.myq.internal.MyqData.login(MyqData.java:160) ~[262:org.openhab.binding.myq:1.14.0.201911070244]

	at org.openhab.binding.myq.internal.MyqData.request(MyqData.java:305) ~[262:org.openhab.binding.myq:1.14.0.201911070244]

	at org.openhab.binding.myq.internal.MyqData.login(MyqData.java:160) ~[262:org.openhab.binding.myq:1.14.0.201911070244]

	at org.openhab.binding.myq.internal.MyqData.request(MyqData.java:305) ~[262:org.openhab.binding.myq:1.14.0.201911070244]

	at org.openhab.binding.myq.internal.MyqData.login(MyqData.java:160) ~[262:org.openhab.binding.myq:1.14.0.201911070244]

	at org.openhab.binding.myq.internal.MyqData.request(MyqData.java:305) ~[262:org.openhab.binding.myq:1.14.0.201911070244]

	at org.openhab.binding.myq.internal.MyqData.login(MyqData.java:160) ~[262:org.openhab.binding.myq:1.14.0.201911070244]

	at org.openhab.binding.myq.internal.MyqData.request(MyqData.java:305) ~[262:org.openhab.binding.myq:1.14.0.201911070244]

	at org.openhab.binding.myq.internal.MyqData.login(MyqData.java:160) ~[262:org.openhab.binding.myq:1.14.0.201911070244]

	at org.openhab.binding.myq.internal.MyqData.request(MyqData.java:305) ~[262:org.openhab.binding.myq:1.14.0.201911070244]

	at org.openhab.binding.myq.internal.MyqData.login(MyqData.java:160) ~[262:org.openhab.binding.myq:1.14.0.201911070244]

	at org.openhab.binding.myq.internal.MyqData.request(MyqData.java:305) ~[262:org.openhab.binding.myq:1.14.0.201911070244]

	at org.openhab.binding.myq.internal.MyqData.login(MyqData.java:160) ~[262:org.openhab.binding.myq:1.14.0.201911070244]

	at org.openhab.binding.myq.internal.MyqData.request(MyqData.java:305) ~[262:org.openhab.binding.myq:1.14.0.201911070244]

	at org.openhab.binding.myq.internal.MyqData.login(MyqData.java:160) ~[262:org.openhab.binding.myq:1.14.0.201911070244]

	at org.openhab.binding.myq.internal.MyqData.request(MyqData.java:305) ~[262:org.openhab.binding.myq:1.14.0.201911070244]

	at org.openhab.binding.myq.internal.MyqData.login(MyqData.java:160) ~[262:org.openhab.binding.myq:1.14.0.201911070244]

I created a new 2.5 snapshot binding that works(I hope). I added all the fixes from the 1.14 binding over the past couple days. I have only tested it on my development machine. If you run into any issues please let me know.

Thanks,
Scott

2 Likes