Giter Site home page Giter Site logo

homebridge-magichome-accessory's Introduction

Hey there ๐Ÿ‘‹

struct Developer {
  let name = "Lukas Pistrol"
  let pronouns = "he/him/his"
  let age = 27
  let role = "iOS & macOS Developer"
  let location = "Vienna ๐Ÿ‡ฆ๐Ÿ‡น"
  let languages = ["de_DE", "en_US"]
  let skills = ["Swift", "Kotlin", "JavaScript", "Python"]
  
  func sayHi() {
    print("Hey, thanks for dropping by, feel free to have a look at my work!")
  }
}

let me = Developer()
me.sayHi()

Highlights

  • TimeMachineStatus A little menu bar application for macOS which aims to show more useful information than the system default.
  • TaskTrigger Attach async tasks to SwiftUI views using a trigger mechanism.
  • SFSymbolsMacro A Swift Macro for "type-safe" SF Symbols
  • SwiftLintPlugin A SPM Plugin for SwiftLint.
  • Pexels-Swift Pexels API client library for the Swift programming language.
  • CodeEdit A native open-source IDE for macOS.

Links

Buy Me A Coffee

homebridge-magichome-accessory's People

Contributors

lukepistrol avatar

Stargazers

 avatar

Watchers

 avatar  avatar

homebridge-magichome-accessory's Issues

The read handler for the characteristic 'On' was slow to respond

Hi,
since a few days I have a problem that I can't turn on my light:

[04/11/2022, 07:57:59] [homebridge-magichome-accessory] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info.

{ "name": "MagicHome", "devices": [ { "name": "Bar Licht", "ip": "192.168.178.90", "port": 5577, "dimmable": false } ], "connect_timeout": 2000, "response_timeout": 1000, "command_timeout": 300, "_bridge": { "username": "0E:74:EB:32:BC:8E", "port": 48155 }, "platform": "MagicHomePlatform" },

Error in home bridge.log "Error getting power state: TypeError: callback is not a function"

I get an error that hangs home bridge permanently when trying to connect to the exact same controller shown on the home page:

[10/6/2022, 9:15:07 AM] [MagicHome] [Heart] Error getting power state: TypeError: callback is not a function
at /usr/local/lib/node_modules/homebridge-magichome-accessory/src/MHControl.ts:321:9
at runNextTicks (node:internal/process/task_queues:60:5)
at listOnTimeout (node:internal/timers:533:9)
at processTimers (node:internal/timers:507:7)
[10/6/2022, 9:15:07 AM] [MagicHome] [Heart] Error getting brightness: TypeError: callback is not a function
at /usr/local/lib/node_modules/homebridge-magichome-accessory/src/MHControl.ts:321:9

Here is my config.json extract:

{
        "name": "MagicHome",
    "devices": [
  		{
                "name": "Heart",
                "ip": "192.168.50.12",
 	    "port": 5577,
                "dimmable": true
            }
        ],
    "connect_timeout": 1000,
        "response_timeout": 500,
        "command_timeout": 100,
        "platform": "MagicHomePlatform"
}

lodash Dependency not found

Homebridge does not automatically install external dependencies. But since I only use one method from this dependency I'll implement it myself in the next update.

Workaround for now:
Install the @types/lodash dependency inside the plug-in folder on your machine using npm install.

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.