GithubHelp home page GithubHelp logo

blat2512 / homebridge-spanet Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 0.0 4.12 MB

Homebridge plugin to control Australian/NZ SpaNET spa's with the WiFi SpaLINK plugin module

Home Page: https://www.npmjs.com/package/homebridge-spanet

License: Apache License 2.0

TypeScript 100.00%
homebridge homekit spa spalink spanet

homebridge-spanet's People

Contributors

blat2512 avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

homebridge-spanet's Issues

Warning: This plugin slows down Homebridge.

I'm running the plugin as a child bridge, and I am getting warnings about the plugin slowing down Homebridge. Also, the child bridge process seems to end and restart frequently. I'm not sure if these issues are related or not
Do you have idea what the issue could be? Thanks for your help.

[1/7/2023, 7:28:20 AM] [homebridge-spanet] This plugin generated a warning from the characteristic 'Target Heater-Cooler State': characteristic was supplied illegal value: number 3 exceeded maximum of 2. See https://homebridge.io/w/JtMGR for more info.
[1/7/2023, 7:28:22 AM] [homebridge-spanet] This plugin slows down Homebridge. The read handler for the characteristic 'Target Temperature' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[1/7/2023, 7:28:22 AM] [homebridge-spanet] This plugin slows down Homebridge. The read handler for the characteristic 'Current Heater-Cooler State' was slow to respond! See https://homebridge.io/w/JtMGR for more info.
[1/7/2023, 7:28:22 AM] [homebridge-spanet] This plugin slows down Homebridge. The read handler for the characteristic 'Active' was slow to respond! See https://homebridge.io/w/JtMGR for more info.

[1/7/2023, 7:25:03 AM] [homebridge-spanet] Child bridge process ended
[1/7/2023, 7:25:03 AM] [homebridge-spanet] Process Ended. Code: 1, Signal: null
[1/7/2023, 7:25:10 AM] [homebridge-spanet] Restarting Process...

Crypto not defined

Describe The Bug:
Issue with password - causes home bridge to shut down.

To Reproduce:
Install app and login with Spanet account

Expected behavior:

Logs:

Show the Homebridge logs here, remove any sensitive information.

[04/11/2023, 16:49:47] ReferenceError: crypto is not defined
at HomebridgeAPI. (/var/lib/homebridge/node_modules/homebridge-spanet/src/platform.ts:25:27)
at HomebridgeAPI.emit (node:events:525:35)
at HomebridgeAPI.signalFinished (/var/lib/homebridge/node_modules/homebridge/src/api.ts:275:10)
at Server.start (/var/lib/homebridge/node_modules/homebridge/src/server.ts:190:14)
[04/11/2023, 16:49:47] Got SIGTERM, shutting down Homebridge...
[04/11/2023, 16:49:47] AssertionError [ERR_ASSERTION]: Cannot generate setupURI on an accessory that isn't published yet!
at Bridge.Accessory.setupURI (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:994:11)
at Server.setServerStatus (/var/lib/homebridge/node_modules/homebridge/src/server.ts:155:45)
at Server.teardown (/var/lib/homebridge/node_modules/homebridge/src/server.ts:199:10)
at signalHandler (/var/lib/homebridge/node_modules/homebridge/src/cli.ts:93:12)
at process.emit (node:events:513:28)
at process.emit (/var/lib/homebridge/node_modules/homebridge/node_modules/source-map-support/source-map-support.js:516:21)

Plugin Config:

{
    "bridge": {
        "name": "Homebridge DF54",
        "username": "0E:BD:1D:F7:DF:54",
        "port": 51062,
        "pin": "190-99-900",
        "advertiser": "avahi"
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "platform": "config"
        },
        {
            "name": "Nest",
            "googleAuth": {
                "issueToken": "REMOVED"
            },
            "platform": "Nest"
        },
        {
            "email": "[email protected]",
            "password": "REMOVED",
            "spaName": "Hot Tub",
            "platform": "SpaNETPlugin"
        }
    ],
    "disabledPlugins": [
        "@o-lukas/homebridge-smartthings-tv"
    ]
}```

**Environment:**

* **Plugin Version**: v2.0.0
* **Homebridge Version**: V1.7.0
* **Node.js Version**: v18.16.0
* **NPM Version**: <!-- npm -v -->
* **Operating System**: <!-- Raspbian  -->

<!-- Click the "Preview" tab before you submit to ensure the formatting is correct. -->

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.