Skip to content

homebridge-hsd #685

Closed
Closed

Description

@En3rGy

Link To GitHub Repo

https://github.com/En3rGy/homebridge-hsd

Link To NPM Package

https://www.npmjs.com/package/homebridge-hsd

Plugin Icon (Optional)

No response

Activity

  1. bwp91 commented on Mar 16, 2024

    @bwp91
    Contributor

    Yes is this:

            {
                "accessories": [
                    {
                        "services": [
                            {
                                "serviceType": "Lightbulb",
                                "characteristics": [
                                    {
                                        "characteristicName": "On"
                                    }
                                ]
                            }
                        ]
                    }
                ],
                "hsPort": 443,
                "platform": "hsd"
            }
    

    is the config that is saved when opening the config screen for the first time and just clicking save straight away.

  2. changed the title [-]homebridge-hsd Review Request[/-] [+]homebridge-hsd[/+] on Mar 28, 2024
  3. github-actions commented on Apr 27, 2024

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  4. En3rGy commented on Apr 28, 2024

    @En3rGy
    Author

    The fix is online, see https://github.com/En3rGy/homebridge-hsd/releases/tag/v1.1.7 resp. https://www.npmjs.com/package/homebridge-hsd/v/1.1.7
    I'm still struggeling to simulate a homebridge API instance for unit testing. Any tips for this one?

  5. bwp91 commented on May 4, 2024

    @bwp91
    Contributor

    @En3rGy with regards to unit testing, perhaps the homebridge/ui test files could be of use?

  6. added
    pendingthe label given to a new verification/icon request
    and removed
    awaiting-changesuse after review has started - awaiting user to make changes to plugin
    on May 4, 2024
  7. bwp91 commented on May 4, 2024

    @bwp91
    Contributor

    Also I just reinstalled the plugin, saved the default config of:

            {
                "accessories": [
                    {
                        "services": [
                            {
                                "serviceType": "Lightbulb",
                                "characteristics": [
                                    {
                                        "characteristicName": "On"
                                    }
                                ]
                            }
                        ]
                    }
                ],
                "hsPort": 443,
                "platform": "hsd",
                "_bridge": {
                    "username": "removed"
                }
            }

    and now getting this crash loop:

    [04/05/2024, 13:18:10] Registering platform 'homebridge-hsd.hsd'
    [04/05/2024, 13:18:10] [homebridge-hsd] Loaded homebridge-hsd v1.1.7 child bridge successfully
    [04/05/2024, 13:18:10] [homebridge-hsd] hsdPlatform.ts | HsdPlatform | Invalid configuration
    [04/05/2024, 13:18:10] [homebridge-hsd] hs.ts | HomeServerConnector | connect > Current connection state is 0
    
    /usr/local/lib/node_modules/homebridge-hsd/node_modules/ws/lib/websocket.js:691
          throw new SyntaxError(`Invalid URL: ${address}`);
                ^
    SyntaxError: Invalid URL: wss://:0/endpoints/ws?authorization=Og%3D%3D
        at initAsClient (/usr/local/lib/node_modules/homebridge-hsd/node_modules/ws/lib/websocket.js:691:13)
        at new WebSocket (/usr/local/lib/node_modules/homebridge-hsd/node_modules/ws/lib/websocket.js:85:7)
        at HomeServerConnector.connect (/usr/local/lib/node_modules/homebridge-hsd/src/hs.ts:94:16)
        at HsdPlatform.connect (/usr/local/lib/node_modules/homebridge-hsd/src/hsdPlatform.ts:24:10)
        at HomebridgeAPI.<anonymous> (/usr/local/lib/node_modules/homebridge-hsd/src/hsdPlatform.ts:45:44)
        at HomebridgeAPI.emit (node:events:518:28)
        at HomebridgeAPI.signalFinished (/usr/local/lib/node_modules/homebridge/src/api.ts:275:10)
        at ChildBridgeFork.startBridge (/usr/local/lib/node_modules/homebridge/src/childBridgeFork.ts:194:14)
    [04/05/2024, 13:18:11] [homebridge-hsd] Child bridge process ended
    [04/05/2024, 13:18:11] [homebridge-hsd] Process Ended. Code: 1, Signal: null
    
  8. added
    awaiting-changesuse after review has started - awaiting user to make changes to plugin
    and removed
    pendingthe label given to a new verification/icon request
    on May 4, 2024
  9. En3rGy commented on May 19, 2024

    @En3rGy
    Author

    New version v1.1.9 is online: https://www.npmjs.com/package/homebridge-hsd

  10. added
    verifieduse when a plugin meets the criteria - adds the verified badge text
    and removed
    awaiting-changesuse after review has started - awaiting user to make changes to plugin
    on May 26, 2024
  11. github-actions commented on May 26, 2024

    @github-actions
    Contributor

    Congratulations! Your plugin has been verified!

    You can now add one of the Verified by Homebridge badges to your plugin's README:

    verified-by-homebridge

    [![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)
    

    verified-by-homebridge

    [![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%23491F59&style=for-the-badge&logoColor=%23FFFFFF&logo=homebridge)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)
    

    Your plugin is now also eligible to display a ❤️ Donate button on its tile in the Homebridge UI. See https://github.com/homebridge/homebridge/wiki/Donation-Links for instructions.

    If for any reason in the future you can no longer maintain your plugin, please consider transferring it to our unmaintained plugins repo. We can take ownership until another willing developer comes along.

    Don't forget to join the official Homebridge Discord server, where plugin developers can get tips and advice from other developers and the Homebridge project team in the #plugin-development channel!

    As a verified plugin, you can request a channel in the Discord server to discuss your plugin with users and other developers. Just ask in the #plugin-development channel.

    Thank you for your contribution to the Homebridge community.

    • The Homebridge Team
  12. added a commit that references this issue on May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    verifieduse when a plugin meets the criteria - adds the verified badge text

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions