Homebridge Plug-in


#485

no currently it uses a hub action. async may solve it but shares the same code with ST version so i would need to maintain 2 versions.

i am planning on wrapping up version 2 of the apps when time allows


#486

@Townsmcp

I don’t have a huge setup.

  • AppleTV 4K
  • Homebridge running on RPi also running OpenVPN
  • all Ethernet wired
  • 18 switches
  • 4 virtual switches
  • no presence sensors (use locative)
  • no scenes/groups

I believe this is also an async issue as the HE staff have stated this as an issue with other apps.

I look forward to @tonesto7’s v2 apps and hopefully async could be implemented too. :grin:


#487

I gotta believe it was an async issue we'd all be experiencing it. I'm having no issues here.

I have 3 AppleTV 4k's and 5 Apple HomePods, any one of them could be my HomeKit hub. I have 2 HE hubs each with their own homebridge instance (on virtual machines) and about 50 devices each.


#488

Have you thought about putting HomeBridge on a pc instead of RPI even if just for a short time? Just to rule out RPI/OpenVPN as the cause?


#489

That isn’t the issue. Also keep in mind this only happened after 2.0.6. Removing the app, adding app and then reconfiguring Homebridge config.json with updated HE app configuration settings has resolved it so far. I haven’t had to reinstall anything on the RPi.

Again I am on 3 days without slow down. So this could be just app issues and the reinstall might have fixed it.


#490

I have created a fork of @tonesto7 Hubitat app and implemented async calls for Hubitat. It is still backwards compatible with ST (I hope :slight_smile: ) . I am still running my Node-Red test but for anyone who feels brave and wants to try it, you can find the updated app here


#491
  • Apple TV 4 (non-4K)
  • HomeBridge running on a 2008 MacBook unibody with El Capitan. Ethernet
  • No Homebridge plugins other than HE
  • 2 virtual switches link from HE

Latest build of the app and Homebridge Plugin for HE

Not going to bother with it further. Will wait for v2 and try it then. I was only using presence for unlocking my door/disarming and turning on the Kitchen light in the evening when we get home.

I've never had issue like this in the past, but now I am. I don't know what caused it, and I'm happy to hear that not everyone is affected. Unfortunately, I am.


#492

Just tried your code Dan, and the slowing does not exist when I use it. Thanks for that. I'll keep testing and see if I get the 2:06am slowdown with it running.


#493

Remember, at 2am the hub is doing its maintenance work (backups, etc.) which definitely is resource intensive. Any slowdown between 2am and 3am I would not attribute to any app going haywire....


#494

I see your point, but that's not exactly what I experienced.

Without the Homebridge app enabled, I've seen around a 3 second delay at 2:06am when the database backup starts and it lasts for about 10 minutes. With Homebridge app enable, I was seeing around 30 second delays for about an hour after the database backup started. Disabling the Homebridge app would instantly return it to normal.

Looking forward to testing your modification tomorrow morning.


#495

do you mind submitting a pull request with the Async changes?
I will review and merge them


#496

So that indicates the issue lies in the HubAction calls for the platform.


#497

I guess whether or not you are affected by this may depend on your homebridge implementation. If the HB App is using synchronous mode and the homebridge server gets busy or slow, that would in turn slow down HE. In async mode, HE would not get hung up if the HB gets busy. My HB runs on a quad core Synology NAS docker, so its quite unlikely it would ever get slow.


#498

Yeah but that isn’t the issue. My HB running on a RPi sees very little processor/memory utilization. So it isn’t a HB issue. Moving to async just means that there is a fundamental difference in how HE handles the calls being made verses ST. Or just like WebCoRE there is so much processing power because of cloud and ST that you never “see” the issues. Now running locally with finite resources maybe the rules change and hence why we see these issues. I don’t see this as a bad discovery btw. This just allows the potential for keeping apps in certain boundaries do to the finite processing available.


#499

Tried re-enabling the lights and sensors for the test. The changes made to the app returned operation to normal during the day, but when the database rebuild began, the hub UI slowed and the lights took 10 seconds to respond.

•Disable the Homebrige app and the speed returned to normal.
•Enabled and the UI and response speed dropped again. Taking 30 seconds to turn ON the lights and 10 seconds to turn OFF.
•Again disable and now at 2:18am response was 10 seconds to ON, 3s to OFF.

This is a different response than yesterday morning, where the Homebridge app was disabled and response times were normal. Of note, after a hub reboot the hub was normal speed with the Homebreidge app disabled. When re-enabled, light response time slowed by only 1 second.

No errors, just a lot of post trace logs

 [app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:42.210 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Porch light, change_device:1429, change_attribute:level, change_value:0, change_date:Mon Apr 01 02:49:42 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:42.190 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Porch light, change_device:1429, change_attribute:switch, change_value:off, change_date:Mon Apr 01 02:49:42 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:41.823 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Overhead, change_device:1430, change_attribute:level, change_value:0, change_date:Mon Apr 01 02:49:41 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:41.772 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Overhead, change_device:1430, change_attribute:switch, change_value:off, change_date:Mon Apr 01 02:49:41 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:41.384 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Kitchen Light, change_device:581, change_attribute:switch, change_value:off, change_date:Mon Apr 01 02:49:41 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:41.364 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Kitchen Light, change_device:581, change_attribute:level, change_value:0, change_date:Mon Apr 01 02:49:41 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:40.962 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Floor Lamp, change_device:1431, change_attribute:level, change_value:100, change_date:Mon Apr 01 02:49:40 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:40.937 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Floor Lamp, change_device:1431, change_attribute:switch, change_value:on, change_date:Mon Apr 01 02:49:40 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:35.237 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:Washing Machine, change_device:2742, change_attribute:lastActivity, change_value:04/1/2019 02:49 AM, change_date:Mon Apr 01 02:49:35 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:32.385 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Porch light, change_device:1429, change_attribute:switch, change_value:off, change_date:Mon Apr 01 02:49:32 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:32.377 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Porch light, change_device:1429, change_attribute:level, change_value:0, change_date:Mon Apr 01 02:49:32 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:31.962 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Overhead, change_device:1430, change_attribute:level, change_value:0, change_date:Mon Apr 01 02:49:31 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:31.958 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Overhead, change_device:1430, change_attribute:switch, change_value:off, change_date:Mon Apr 01 02:49:31 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:31.675 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Kitchen Light, change_device:581, change_attribute:switch, change_value:off, change_date:Mon Apr 01 02:49:31 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:31.644 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Kitchen Light, change_device:581, change_attribute:level, change_value:0, change_date:Mon Apr 01 02:49:31 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:31.272 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Floor Lamp, change_device:1431, change_attribute:level, change_value:100, change_date:Mon Apr 01 02:49:31 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:31.267 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Floor Lamp, change_device:1431, change_attribute:switch, change_value:on, change_date:Mon Apr 01 02:49:31 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:22.135 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Porch light, change_device:1429, change_attribute:level, change_value:0, change_date:Mon Apr 01 02:49:21 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:22.011 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Porch light, change_device:1429, change_attribute:switch, change_value:off, change_date:Mon Apr 01 02:49:21 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:21.761 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Overhead, change_device:1430, change_attribute:switch, change_value:off, change_date:Mon Apr 01 02:49:21 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:21.731 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Overhead, change_device:1430, change_attribute:level, change_value:0, change_date:Mon Apr 01 02:49:21 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:21.481 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Kitchen Light, change_device:581, change_attribute:level, change_value:0, change_date:Mon Apr 01 02:49:21 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:21.363 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Kitchen Light, change_device:581, change_attribute:switch, change_value:off, change_date:Mon Apr 01 02:49:21 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:20.961 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Floor Lamp, change_device:1431, change_attribute:level, change_value:100, change_date:Mon Apr 01 02:49:20 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:20.952 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Floor Lamp, change_device:1431, change_attribute:switch, change_value:on, change_date:Mon Apr 01 02:49:20 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:11.794 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Porch light, change_device:1429, change_attribute:switch, change_value:off, change_date:Mon Apr 01 02:49:11 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:11.767 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Porch light, change_device:1429, change_attribute:level, change_value:0, change_date:Mon Apr 01 02:49:11 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:11.420 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Overhead, change_device:1430, change_attribute:level, change_value:0, change_date:Mon Apr 01 02:49:11 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:11.394 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Overhead, change_device:1430, change_attribute:switch, change_value:off, change_date:Mon Apr 01 02:49:11 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:11.012 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Kitchen Light, change_device:581, change_attribute:switch, change_value:off, change_date:Mon Apr 01 02:49:10 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:10.971 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Kitchen Light, change_device:581, change_attribute:level, change_value:0, change_date:Mon Apr 01 02:49:10 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:10.674 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Floor Lamp, change_device:1431, change_attribute:level, change_value:100, change_date:Mon Apr 01 02:49:10 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:10.659 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Floor Lamp, change_device:1431, change_attribute:switch, change_value:on, change_date:Mon Apr 01 02:49:10 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:02.399 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Porch light, change_device:1429, change_attribute:level, change_value:0, change_date:Mon Apr 01 02:49:02 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:02.388 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Porch light, change_device:1429, change_attribute:switch, change_value:off, change_date:Mon Apr 01 02:49:02 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:02.071 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Overhead, change_device:1430, change_attribute:level, change_value:0, change_date:Mon Apr 01 02:49:01 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:02.057 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Overhead, change_device:1430, change_attribute:switch, change_value:off, change_date:Mon Apr 01 02:49:01 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:01.829 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Kitchen Light, change_device:581, change_attribute:switch, change_value:off, change_date:Mon Apr 01 02:49:01 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:01.675 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Kitchen Light, change_device:581, change_attribute:level, change_value:0, change_date:Mon Apr 01 02:49:01 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:01.301 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Floor Lamp, change_device:1431, change_attribute:switch, change_value:on, change_date:Mon Apr 01 02:49:01 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:49:01.286 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Floor Lamp, change_device:1431, change_attribute:level, change_value:100, change_date:Mon Apr 01 02:49:01 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:48:52.170 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Porch light, change_device:1429, change_attribute:switch, change_value:off, change_date:Mon Apr 01 02:48:51 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:48:52.154 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Porch light, change_device:1429, change_attribute:level, change_value:0, change_date:Mon Apr 01 02:48:51 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:48:51.887 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Overhead, change_device:1430, change_attribute:level, change_value:0, change_date:Mon Apr 01 02:48:51 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:48:51.850 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Overhead, change_device:1430, change_attribute:switch, change_value:off, change_date:Mon Apr 01 02:48:51 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:48:51.340 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Kitchen Light, change_device:581, change_attribute:switch, change_value:off, change_date:Mon Apr 01 02:48:51 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:48:51.326 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Kitchen Light, change_device:581, change_attribute:level, change_value:0, change_date:Mon Apr 01 02:48:51 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:48:51.062 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Floor Lamp, change_device:1431, change_attribute:level, change_value:100, change_date:Mon Apr 01 02:48:50 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:48:51.040 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Floor Lamp, change_device:1431, change_attribute:switch, change_value:on, change_date:Mon Apr 01 02:48:50 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:48:42.341 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Porch light, change_device:1429, change_attribute:switch, change_value:off, change_date:Mon Apr 01 02:48:42 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:48:42.261 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Porch light, change_device:1429, change_attribute:level, change_value:0, change_date:Mon Apr 01 02:48:42 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:48:41.731 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Overhead, change_device:1430, change_attribute:level, change_value:0, change_date:Mon Apr 01 02:48:41 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:48:41.718 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Overhead, change_device:1430, change_attribute:switch, change_value:off, change_date:Mon Apr 01 02:48:41 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:48:41.359 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Kitchen Light, change_device:581, change_attribute:switch, change_value:off, change_date:Mon Apr 01 02:48:41 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:48:41.305 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Kitchen Light, change_device:581, change_attribute:level, change_value:0, change_date:Mon Apr 01 02:48:41 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:48:40.930 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Floor Lamp, change_device:1431, change_attribute:level, change_value:100, change_date:Mon Apr 01 02:48:40 EDT 2019]]

[app:3421](http://192.168.0.113/logs#app3421)2019-04-01 02:48:40.904 am [trace](http://192.168.0.113/installedapp/configure/3421)Sending POST /update to 192.168.0.115:8005 with params [method:POST, path:/update, headers:[HOST:192.168.0.115:8005, Content-Type:application/json], body:[change_name:HE Floor Lamp, change_device:1431, change_attribute:switch, change_value:on, change_date:Mon Apr 01 02:48:40 EDT

#500

This was just some additional logging that I added for my test. I removed it from the latest version in my github repo.

I just created the pull request. Let me know if you have any questions.

I can say that my Node-Red test seemed promising, I did not have any unexpected slowdowns or hub freezes. I am now going to test my changes with the async calls and hope that it stays stable. I think you might be onto something here...


#501

Just tried the async code and responsiveness of the hub is really good. Just an FYI.


#502

This is a major issue for me, how can you not at least change the scheduled time for this? I always stand there waiting for my house to go into night mode as I'm tired and anxious to go to bed. But I still can't assume all of the lights will go off properly because my it has failed in this period of time in the past due to maintenance.

What if there was an emergency? Which rescheduling wouldn't fix because emergencies aren't scheduled. I guess I feel it's unacceptable for the hub to slow down for maintenance at any time.

@dan.t not yelling at you just glad somebody else is aware of this maintenance schedule.


#503

Change in schedule is something they are aware of a possible enhancement needed. And you are aware of that this is not an emergency device?

I recommend that you always have a physical way to turn on lights that does not require a hub or bridge of any kind.


#504

I don't mean to start a dust up and this is off the topic here, but when I have lights grouped together they best all turn on quickly. I do have physical means to turn on all of my lights, but the point of all of this is not to press every switch in the house.

Emergency or not it's sold to work, I find it not to be during this period.