genielabs / HomeGenie

HomeGenie, the programmable automation intelligence
https://homegenie.it
GNU General Public License v3.0
388 stars 154 forks source link

1.2 beta-16 broke my hue modified program #344

Closed tuicemen closed 5 years ago

tuicemen commented 5 years ago

I created a program which simply modified the Philps hue program to allow connection to the HA-Bridge program since I don't have a physical Hue Bridge and to provide the ability to arm disarm my X10 security system this was working fine until the latest beta release

Expected behavior

Ha-Bridge configured devices to turn on/off when called to do so

Actual behavior

HG shows the command is being sent via a toast message but nothing gets activated

Steps to reproduce the problem starting from a fresh install

1. 2. 3.

Specifications

Additional configuration notes

I also have the email camera pictures which had stopped sending prior. I'm wondering if this is all related to the mono version as reported in issue #342 I've not updated mono to the latest as yet as I figured HG would do that with an update.

genemars commented 5 years ago

Can you post the .hgx of this program with steps to replicate the issue?

tuicemen commented 5 years ago

Actualy away hunting so will post it when I get back in a couple of weeks but it is basicaly the philips hue program with extra password authintaion.

genemars commented 5 years ago

Did you clone the hue program or did you modify the code of the original program? In the latter case the original program might have been overwritten with the hg update.

tuicemen commented 5 years ago

sorry for the delay just got back and trying to get caught up here is the hgx file

260-HA-Bridge(with Password).zip

genemars commented 5 years ago

ok I see the program is exported with ID 26. So it means you modified the original built-in Hue program. Doing so, the original program will be overwritten everytime the HG update contains a newer version of the Hue program. In order to preserve your modified programs, you have to:

tuicemen commented 5 years ago

Ok I'll give this ago and see what happens with a new HG beta release. I had assumed if I imported my modified program with the original still in place HG would assign a new id. not sure why other releases didn't catch this.

tuicemen commented 5 years ago

Perhaps the built in Hue Hub program can be updated to include a password then my HA-Bridge (modified hue program) would be obsolete.

tuicemen commented 5 years ago

I believe that this is no longer a issue as every thing seems to be working!