rodtoll / homebridge-isy-js

Homebridge platform plugin for the ISY series of home controllers from Universal Devices.
MIT License
22 stars 27 forks source link

2nd garage door doesn't add correctly #63

Open lordquazi opened 2 years ago

lordquazi commented 2 years ago

I can't get the 2nd garage door to add as a door, it adds as a switch.

config example: "garageDoors": [ { "address": "19 5D E5 1", "name": "Garage Door", "timeToOpen": 12000 }, { "address": "42 07 41", "Name": "Shed Garage Status", "timeToOpen": 12000 } ],

macjeff commented 2 years ago

I don’t think this plugin is officially supported anymore. With that said I still use it and mine works.

A quick glance check the address of the second door. I think you need to have one more digit since the garage door has both a relay and a sensor.

Jeff

Sent from my iPhone

On Feb 4, 2022, at 9:59 AM, lordquazi @.***> wrote:



I can't get the 2nd garage door to add as a door, it adds as a switch.

config example: "garageDoors": [ { "address": "19 5D E5 1", "name": "Garage Door", "timeToOpen": 12000 }, { "address": "42 07 41", "Name": "Shed Garage Status", "timeToOpen": 12000 } ],

— Reply to this email directly, view it on GitHubhttps://github.com/rodtoll/homebridge-isy-js/issues/63, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AE3OB7VZF6KX3Z3N6SKB3ZTUZPSUHANCNFSM5NSACTGA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you are subscribed to this thread.Message ID: @.***>

lordquazi commented 2 years ago

Thanks for replying Jeff — and for the idea. I had a 1 there before and tried removing it. I’ve put it back and still have the same issue.

Are you running two garage doors successfully? It seems in the logs that it just ignores this door. The only difference between my doors is the IO Link is a newer version on the one that doesn’t work.

I’ll double check my ISY994i config for it, but I’m sure they are the same.

Have a nice weekend,

Derek.

On Feb 4, 2022, at 10:12:54, macjeff @.***> wrote:

I don’t think this plugin is officially supported anymore. With that said I still use it and mine works.

A quick glance check the address of the second door. I think you need to have one more digit since the garage door has both a relay and a sensor.

Jeff

Sent from my iPhone

On Feb 4, 2022, at 9:59 AM, lordquazi @.***> wrote:



I can't get the 2nd garage door to add as a door, it adds as a switch.

config example: "garageDoors": [ { "address": "19 5D E5 1", "name": "Garage Door", "timeToOpen": 12000 }, { "address": "42 07 41", "Name": "Shed Garage Status", "timeToOpen": 12000 } ],

— Reply to this email directly, view it on GitHubhttps://github.com/rodtoll/homebridge-isy-js/issues/63, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AE3OB7VZF6KX3Z3N6SKB3ZTUZPSUHANCNFSM5NSACTGA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you are subscribed to this thread.Message ID: @.***> — Reply to this email directly, view it on GitHub https://github.com/rodtoll/homebridge-isy-js/issues/63#issuecomment-1030077378, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXQPXTT4VLO2HUHT3PR64CTUZPUHNANCNFSM5NSACTGA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.

dwightstanley commented 2 years ago

My two garage doors work fine. Here is a snip of my config file: "garageDoors": [ { "address": "4D 88 8F 1", "name": "Garage Door One", "timeToOpen": 12000 }, { "address": "48 8B 99 1", "name": "Garage Door Two", "timeToOpen": 12000 } ],

I also ignore the relay of these doors: "ignoreDevices": [ { "description": "Garage Door #1 Relay", "nameContains": "", "lastAddressDigit": "", "address": "4D 88 8F 2" }, { "description": "Garage Door #2 Relay", "nameContains": "", "lastAddressDigit": "", "address": "48 8B 99 2" }, ],

macjeff commented 2 years ago

Here is my config. Also I am running Node JS 16.3.2 NPM 8.4 Homebridge 1.4.0 ISY plugin 0.1.9

I have had corruption and had to delete the cached file and setup homekit again.

"garageDoors": [ { "address": "39 A3 D5 1", "name": "Garage Door 1", "timeToOpen": 12000 }, { "address": "15 16 A5 1", "name": "Casey's Garage", "timeToOpen": 12000 }, { "address": "52 DF 85 1", "name": "Jeff's Garage", "timeToOpen": 12000 }

lordquazi commented 2 years ago

Thanks to both of you for responding — I still can’t get this to work. I’m chalking it up to the fact that the address has a single digit 7 vs another digit — and the code doesn’t like it. OR the version of IO Linc that I have.

On Feb 5, 2022, at 10:41:10, Dwight Stanley @.***> wrote:

My two garage doors work fine. Here is a snip of my config file: "garageDoors": [ { "address": "4D 88 8F 1", "name": "Garage Door One", "timeToOpen": 12000 }, { "address": "48 8B 99 1", "name": "Garage Door Two", "timeToOpen": 12000 } ],

I also ignore the relay of these doors: "ignoreDevices": [ { "description": "Garage Door #1 https://github.com/rodtoll/homebridge-isy-js/issues/1 Relay", "nameContains": "", "lastAddressDigit": "", "address": "4D 88 8F 2" }, { "description": "Garage Door #2 https://github.com/rodtoll/homebridge-isy-js/issues/2 Relay", "nameContains": "", "lastAddressDigit": "", "address": "48 8B 99 2" }, ],

— Reply to this email directly, view it on GitHub https://github.com/rodtoll/homebridge-isy-js/issues/63#issuecomment-1030646691, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXQPXTUCADEAQF4GFH3UN53UZVAJNANCNFSM5NSACTGA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.

dwightstanley commented 2 years ago

I am curious what the specs are on your new IOLinc - perhaps the file isydevicetypes.json could be modified to support it? This is what is in the file right now for IOLinc devices: { "type": "7.0.54.0", "address": "1", "name": "(2450) IOLinc v.36", "deviceType": "DoorWindowSensor", "connectionType": "Insteon Wired", "batteryOperate$ { "type": "7.0.65.0", "address": "1", "name": "(2450) IOLinc v.41", "deviceType": "DoorWindowSensor", "connectionType": "Insteon Wired", "batteryOperate$

lordquazi commented 2 years ago

Ok!! I have it working. All I did differently was removing the config for the shed door and adding it back in. This time I used the name of the sensor vs. The door. I didn’t think that would work as I didn’t use the same name for my other garage door.

The IO Linc is a 4.1 version, so it should be fine.

Last questions, have you had luck converting devices to switches vs fans? I have several switches that aren’t dimmers that show up as fans.

Thanks for your ideas, config examples and support.

Derek.

On Feb 6, 2022, at 18:52:41, Dwight Stanley @.***> wrote:

I am curious what the specs are on your new IOLinc - perhaps the file isydevicetypes.json could be modified to support it? This is what is in the file right now for IOLinc devices: { "type": "7.0.54.0", "address": "1", "name": "(2450) IOLinc v.36", "deviceType": "DoorWindowSensor", "connectionType": "Insteon Wired", "batteryOperate$ { "type": "7.0.65.0", "address": "1", "name": "(2450) IOLinc v.41", "deviceType": "DoorWindowSensor", "connectionType": "Insteon Wired", "batteryOperate$

— Reply to this email directly, view it on GitHub https://github.com/rodtoll/homebridge-isy-js/issues/63#issuecomment-1030943868, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXQPXTXDSONEYAX7FXR4JOLUZ4CUTANCNFSM5NSACTGA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.

dwightstanley commented 2 years ago

This had happened to me too - I have an older ICON switch that is defined wrong. There is an error in the isydevicetypes.json file that lists this device as a Fan instead of Light.

In Homebridge - enter the terminal using the upper right dots.

Then enter (or copy paste) the following to get the file open for editing: nano node_modules/homebridge-isy-js/node_modules/isy-js/isydevicetypes.json

Use arrow keys to find and edit the appropriate line - for me it was this: { "type": "2.22.57.0", "address": "", "name": "(28763B) Icon Relay Switch v.39", "deviceType": "Fan", "connectionType": "Insteon Wired", "batteryOperated": false },

Change "Fan," to "Light,"

CONTROL-O to write out CONTROL-X to exit

Restart the Homebridge container for the change to take effect. The change will stay in place unless the plugin is reinstaled. Hope this helps!

Dwight

lordquazi commented 2 years ago

very helpful Dwight, thank you. That worked like a charm.

On Feb 7, 2022, at 10:06:08, Dwight Stanley @.***> wrote:

This had happened to me too - I have an older ICON switch that is defined wrong. There is an error in the isydevicetypes.json file that lists this device as a Fan instead of Light.

In Homebridge - enter the terminal using the upper right dots.

Then enter (or copy paste) the following to get the file open for editing: nano node_modules/homebridge-isy-js/node_modules/isy-js/isydevicetypes.json

Use arrow keys to find and edit the appropriate line - for me it was this: { "type": "2.22.57.0", "address": "", "name": "(28763B) Icon Relay Switch v.39", "deviceType": "Fan", "connectionType": "Insteon Wired", "batteryOperated": false },

Change "Fan," to "Light,"

CONTROL-O to write out CONTROL-X to exit

Restart the Homebridge container for the change to take effect. The change will stay in place unless the plugin is reinstaled. Hope this helps!

Dwight

— Reply to this email directly, view it on GitHub https://github.com/rodtoll/homebridge-isy-js/issues/63#issuecomment-1031566664, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXQPXTXI2PJAK45WB6XFCTDUZ7NWBANCNFSM5NSACTGA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.