From: Serge M. (smartel) <sm...@vi...> - 2016-10-22 16:18:59
|
I am trying to update my Homebridge integration, but having a hard time, What I did: -took the homebridge.pl code and added it to my code directory -cloned the new 0.2.1 homebridge-legacy-plugins into my node_modules directory -added a homebridge_service_path (pointing to my homebridge binary) and a homebridge_config_dir (pointing to /home/pi/.homebridge directory) variable in my mh.private.ini file. I can start the service when I go to Menu and run the code, but my config.json file is not generated, and I am unable to stop or restart the service. What I am missing? Thank you! -----Message d'origine----- De : H Plato [mailto:hp...@gm...] Envoyé : 18 octobre 2016 22:57 À : Thomas MacLean Cc : The main list for the MisterHouse home automation program Objet : Re: [mh] homebridge lightbulb or light I have a new homebridge.pl (replaced homebridge_gen_config.pl since it both generates a config file, and now provides a webservice to respond to status requests) on my github homebridge branch, and a new httpmulti accessory. I tried publishing the accessory with npm, so that might work to install it. So far, it seems to work, I can control lights, switches, fans, blinds, garagedoors — and IOS pulls the live status from MH. Which is neat. Both voice and the IOS 10 home app seem to work. Thermostats also partially work. I only have a venstar, so I can pull the mode and current setpoint, and then change the setpoint. I have a bit more logic around adjusting schedules to do. If anyone has other thermostats they want to control, it should be straightforward if they want to add support. Do you want to test it out? Be good to have some beta testing before including it to the upcoming 4.2 release. > On Oct 2, 2016, at 8:05 AM, Thomas MacLean <tma...@pe...> wrote: > > > I am actually using IOS10. > > The only other undocumented thing I needed to do (on my RPi) was to "npm install request --global" in order to make homebridge-legacy-plugins work. > > -Tom > > On 2016-10-01, at 10:30 AM, H Plato <hp...@gm...> wrote: > >> Hi Thomas, >> >> If you're using IOS9 then your tweak should work with the current >> homebridge-httpmulti accessory. I also noticed that problem when I >> was working on it yesterday. With IOS10, my homebridge-httpmulti >> accessory didn’t work. I’ve been working on an update and have it >> about half working. (blinds, locks, switches work; not garage doors, >> light brightness or thermostats yet) >> >> >>> On Oct 1, 2016, at 8:19 AM, Thomas MacLean <tma...@pe...> wrote: >>> >>> HI >>> >>> I'm finally getting around to setting up the homebridge integration. I notice the homebridge_gen_config created HB_LIGHT configurations with a device type of "light", whereas homebridge HttpMulti.js seems to expect "lightbulb". >>> >>> When I used the generated json.config, homebridge said my "light"s were unrecognized device types ... homebridge only worked once I rename the type in the json.config file to lightbulb. >>> >>> Should it have worked without my tweak? I could probably the config generator, but I first want to know I'm not doing something stupid. >>> >>> Thanks, >>> Tom >>> >>> -------------------------------------------------------------------- >>> ---------- Check out the vibrant tech community on one of the >>> world's most engaging tech sites, SlashDot.org! >>> http://sdm.link/slashdot >>> ________________________________________________________ >>> To unsubscribe from this list, go to: >>> https://lists.sourceforge.net/lists/listinfo/misterhouse-users >>> >> > > > ---------------------------------------------------------------------- > -------- Check out the vibrant tech community on one of the world's > most engaging tech sites, SlashDot.org! http://sdm.link/slashdot > ________________________________________________________ > To unsubscribe from this list, go to: > https://lists.sourceforge.net/lists/listinfo/misterhouse-users > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ________________________________________________________ To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users |