Giter Club home page Giter Club logo

typescript-homebridge-schedule's Introduction

Stats

My github stats

Repositories

Github Actions

Repo Version Issues Implementations
github-action-file-sync version issues Net Standard File Sync Python File Sync Shell File Sync Typescript File Sync
github-action-repo-sync version issues Repo Metadata Sync
github-action-repo-settings-sync version issues Repo Settings Sync
github-action-release-maker version issues
github-action-auto-create-collabs version issues
github-action-auto-accept-collabs version issues
github-action-issue-assigner version issues Repository Issue Assigner

TypeScript

Repo CI/CD Code Coverage NPM Version Downloads Issues
typescript-ilogger CI/CD codecov npm downloads issues
typescript-helper-functions CI/CD codecov npm downloads issues
typescript-cache-helper CI/CD codecov npm downloads issues
homebridge-schedule verified-by-homebridge CI/CD codecov npm downloads issues
AWS Helpers
typescript-aws-helpers CI/CD codecov npm downloads issues
APIGateway CI/CD codecov npm downloads issues
CloudWatch CI/CD codecov npm downloads issues
Dynamo CI/CD codecov npm downloads issues
KMS CI/CD codecov npm downloads issues
Lambda CI/CD codecov npm downloads issues
S3 CI/CD codecov npm downloads issues
SES CI/CD codecov npm downloads issues
SNS CI/CD codecov npm downloads issues
SQS CI/CD codecov npm downloads issues
SSM CI/CD codecov npm downloads issues
STS CI/CD codecov npm downloads issues

.NET / .NET Core

Repo Build Tests Code Coverage NuGet Version Downloads Issues
net-standard-logger build tests coverage nuget downloads issues
net-standard-cache-helper build tests coverage nuget downloads issues
net-standard-test-helper build tests coverage nuget downloads issues
net-standard-http-helper build tests coverage nuget downloads issues
net-standard-opc-ua-helper build tests coverage nuget downloads issues
AWS Helpers
net-standard-aws-helpers coming soon
S3 build tests coverage nuget downloads issues
SQS build tests coverage nuget downloads issues

Java

Haven't started yet

Python

Repo Issues
github-secret-recycler issues

PowerShell

Repo Issues
powershell issues

Other

Repo Issues
yaml issues
code-snippets issues
powershell issues
github-secret-recycler issues

typescript-homebridge-schedule's People

Contributors

askovi avatar dependabot[bot] avatar github-actions[bot] avatar kbrashears5 avatar tomrund avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

typescript-homebridge-schedule's Issues

Just updated and can’t load homebridge....

  1. Install latest build of this plugin.
  2. Reboot homebridge.

Result
Homebridge cant load. See Below.

Restore previous version, 1.0.23
Homebridge is fine.

Module Version
Node.js 12.18.3
NPM 6.14.7
homebridge 1.1.1
Alpine Linux (running in a Docker on a Synology) 3.12.0
homebridge-config-ui-x v4.24
Homebridge-schedule v1.0.28

2857172D-34B3-40F3-AE67-1CC503B47018

Feature request: schedule sync

Hi there. I really love this plugin and it is an simple, elegant and powerful way to automate a plethora of home devices. However, the schedule starting when the homebridge is booted is, I feel, a weakness. Sitting and waiting to reboot homebridge at a particular time defeats the point of automation. Is there a way that perhaps an optional setting could be added to the plugin such that if the dummy switch is manually actuated in HomeKit (eg toggled on and off within 10 seconds) or triggered by a daily shortcut, the timer is reset so it can be synced with other shortcuts and services? Thanks!

Request: less logging

It seems the Scheduled plugin is writing to the logs every ~30s even when my interval is set to 5mins. Is there a way you can only log when the "switch" is turned on and off? I'm not sure the other logging is helpful to me.

[02/05/2022, 21:58:58] [DoorChecker] Schedule: [OFF]
[02/05/2022, 21:59:36] [DoorChecker] Schedule: [OFF]
[02/05/2022, 22:00:12] [DoorChecker] Schedule: [OFF]
[02/05/2022, 22:00:48] [DoorChecker] Schedule: [OFF]
[02/05/2022, 22:01:03] [DoorChecker] Schedule: [OFF]
[02/05/2022, 22:01:42] [DoorChecker] Schedule: [OFF]
[02/05/2022, 22:02:43] [DoorChecker] Schedule: [OFF]
[02/05/2022, 22:02:49] [DoorChecker] Schedule was set to: [ON]
[02/05/2022, 22:02:50] [DoorChecker] Schedule was set to: [OFF]
[02/05/2022, 22:03:12] [DoorChecker] Schedule: [OFF]
[02/05/2022, 22:03:57] [DoorChecker] Schedule: [OFF]
[02/05/2022, 22:04:43] [DoorChecker] Schedule: [OFF]
[02/05/2022, 22:05:49] [DoorChecker] Schedule: [OFF]
[02/05/2022, 22:06:10] [DoorChecker] Schedule: [OFF]
[02/05/2022, 22:06:37] [DoorChecker] Schedule: [OFF]
[02/05/2022, 22:07:13] [DoorChecker] Schedule: [OFF]
[02/05/2022, 22:07:46] [DoorChecker] Schedule: [OFF]
[02/05/2022, 22:07:49] [DoorChecker] Schedule was set to: [ON]
[02/05/2022, 22:07:50] [DoorChecker] Schedule was set to: [OFF]
[02/05/2022, 22:08:04] [DoorChecker] Schedule: [OFF]
[02/05/2022, 22:09:46] [DoorChecker] Schedule: [OFF]
[02/05/2022, 22:10:13] [DoorChecker] Schedule: [OFF]
[02/05/2022, 22:10:37] [DoorChecker] Schedule: [OFF]
[02/05/2022, 22:11:43] [DoorChecker] Schedule: [OFF]

Thanks!

Plugin is installed in Hoobs but accessories aren't recognized?

Installed it via HOOBS' ui, and it shows up as registered:

6/29/2020, 2:41:54 AM Loaded plugin "homebridge-schedule".

However when it gets to the "Schedule" accessory:

6/29/2020, 2:41:58 AM The requested accessory "Schedule" was not registered by any plugin.6/29/2020, 2:41:58 AM Your config.json is requesting the accessory "Schedule" which has not been published by any installed plugins.6/29/2020, 2:41:58 AM The requested accessory "Schedule" was not registered by any plugin.6/29/2020, 2:41:58 AM Your config.json is requesting the accessory "Schedule" which has not been published by any installed plugins.

Odd, but the config doesn't look that complicated:

        {
            "accessory": "Schedule",
            "name": "Hourly",
            "interval": 60,
            "plugin_map": {
                "plugin_name": "homebridge-schedule",
                "index": 0
            }
        },
        {
            "accessory": "Schedule",
            "name": "Every Minute",
            "interval": 1,
            "plugin_map": {
                "plugin_name": "homebridge-schedule",
                "index": 0
            }
        }

What am I doing wrong here?

Last update (1.0.93) error

After update the plug-in show an error an remove all accessories and automations from the plug-in.

6A10D29F-75C2-4927-A0D1-2325B138B605

Restoring the previous versions works fine

ERROR LOADING PLUGIN homebridge-schedule: Unexpected token

Hello,

I've freshly installed the plugin, the missing depency and configured a accessorie in my homebridge config as follows:

     {
       "accessory": "Schedule",
       "name": "Rollercheck",
       "interval": 5
     }

When homebridge get started, the plugin loader throw an error:

Apr 10 16:38:05 Server systemd[1]: Started Node.js HomeKit Server.
Apr 10 16:38:05 Server homebridge[2122]: [2022-4-10 16:38:05] Loaded config.json with 0 accessories and 2 platforms.
Apr 10 16:38:05 Server homebridge[2122]: [2022-4-10 16:38:05] Loaded 0 cached accessories from cachedAccessories.
Apr 10 16:38:05 Server homebridge[2122]: [2022-4-10 16:38:05] ---
Apr 10 16:38:06 Server homebridge[2122]: [2022-4-10 16:38:06] Loaded plugin: [email protected]
Apr 10 16:38:06 Server homebridge[2122]: homebridge API version: 2.7
Apr 10 16:38:06 Server homebridge[2122]: this is homebridge-fhem 0.5.32
Apr 10 16:38:06 Server homebridge[2122]: [2022-4-10 16:38:06] Registering platform 'homebridge-fhem.FHEM'
Apr 10 16:38:06 Server homebridge[2122]: [2022-4-10 16:38:06] ---
Apr 10 16:38:06 Server homebridge[2122]: [2022-4-10 16:38:06] Loaded plugin: [email protected]
Apr 10 16:38:07 Server homebridge[2122]: [2022-4-10 16:38:07] Registering platform 'homebridge-fritz.FRITZ!Box'
Apr 10 16:38:07 Server homebridge[2122]: [2022-4-10 16:38:07] ---
Apr 10 16:38:07 Server homebridge[2122]: [2022-4-10 16:38:07] ====================
Apr 10 16:38:07 Server homebridge[2122]: [2022-4-10 16:38:07] ERROR LOADING PLUGIN homebridge-schedule:
Apr 10 16:38:07 Server homebridge[2122]: [2022-4-10 16:38:07] /usr/lib/node_modules/homebridge-schedule/dist/schedule-accessory.js:6
Apr 10 16:38:07 Server homebridge[2122]:     log;
Apr 10 16:38:07 Server homebridge[2122]:        ^
Apr 10 16:38:07 Server homebridge[2122]: SyntaxError: Unexpected token ;
Apr 10 16:38:07 Server homebridge[2122]:     at Module._compile (internal/modules/cjs/loader.js:760:23)
Apr 10 16:38:07 Server homebridge[2122]:     at Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10)
Apr 10 16:38:07 Server homebridge[2122]:     at Module.load (internal/modules/cjs/loader.js:685:32)
Apr 10 16:38:07 Server homebridge[2122]:     at Function.Module._load (internal/modules/cjs/loader.js:620:12)
Apr 10 16:38:07 Server homebridge[2122]:     at Module.require (internal/modules/cjs/loader.js:723:19)
Apr 10 16:38:07 Server homebridge[2122]:     at require (internal/modules/cjs/helpers.js:14:16)
Apr 10 16:38:07 Server homebridge[2122]:     at Plugin.load (/usr/lib/node_modules/homebridge/src/plugin.ts:192:73)
Apr 10 16:38:07 Server homebridge[2122]:     at PluginManager.initializeInstalledPlugins (/usr/lib/node_modules/homebridge/src/pluginManager.ts:131:22)
Apr 10 16:38:07 Server homebridge[2122]: [2022-4-10 16:38:07] ====================

Any hint?

Disable Logging?

Love the plugin. Any chance to get a flag to disable printing to the homebridge log? Id really only want to enable those prints if debugging a problem. Thanks.

Update to 1.0.128 not possible

Hello, I just wanted to install the update to 1.0.128. Unfortunately this is not possible. It aborts the installation with the following errors.

D09D90EB-361A-4F36-8ED3-67D09B3E4536

Enabled duration is ignored

I have version 1.0.136 installed and notice:

  1. Homebridge 1.6's plugin UI does not display "enabled duration."
  2. Editing the config json to include enabledDuration does not appear to be working or respected. The switch still turns off after the default 1 second.

Thanks!

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.