Well…I was able to get a script written and working with voice control, but I tried to “duplicate” the script to setup more Insteon scenes and now I’m getting errors in all of the scripts (see below) saying I can’t edit them in the UI. I’m assuming it was the “duplicate” action that did it, because it was working fine before I did that.
Hitting “Migrate” as shown in the screenshot below doesn’t seem to do anything and I’m unable to delete any of the scripts and start over (I click on detele, then confirm it, but they just stay there). Any thoughts on how to get out of this mess? Assuming I need to get into some sort of configuration file and delete something, but not sure where to even start with something like that. I’ve tried a full reboot several times and no improvement there.
OK, quick update. I found another mention of an issue similar to mine and seems like it might have been due to the web browser (Firefox) and/or the computer I was using. I was able to go into the Android App and delete the scripts. Didn’t see the UI error there, so might not have needed to delete. Started over, rebooted my computer and the script is working again.
I’m hesitant to do a “duplicate” again so I guess I’ll just create scripts for the rest of my Insteon scenes one by one. Thanks @kbrown01 for the idea. It works very well.
I’m not sure what created your original problem with the duplicated script not being stored in scripts.yaml. I duplicate automations and scripts all the time without any issue like that. You do have to click the SAVE SCRIPT button bottom-right corner or it won’t get written to [scripts|automations].yaml.
FYI, I only have 4 inseon switches and 1 dimmer and since I have no need or use for scenes, I’ve never used them so I can’t provide any feedback related specifically to scenes.
Your welcome. How is the speed? I would think it is pretty fast but of course the Cloud is involved so it would depend totally on your connection.
The other tidbit I would be interested in is have you examined the state of the light/switch in HA Gui? Meaning if you say “Alexa, turn on Kitchen” and that goes Alexa->Nabu Casa->Your HA->Your Hub->multiple switches, does the state in the GUI update and how fast?
I’m thinking the flow probably looks something like this? “Alexa, turn on kitchen” → EchoDevice → AlexaCloud (SCENE : SCRIPT) → NabuCasaCloud → HA (SCRIPT : SCENE) → InsteonHub (MULTIPLE COMMANDS) → Switches → (STATE REPORT) → Hub → HA
With my Alexa, from voice command acknowledgement beep to things happening is under a second and when the light turns on, the state in the HA Companion App on my phone, which adds another transmission sequence via Wi-Fi, appears instantaneous.
For me, it all happens almost in the blink of an eye!
Just tested it. I would say it takes a little more than 1 second from Google acknowledging the command to the lights actually turning on. This is a noticeable amount slower than when I used Google with Homeseer, but still livable.
The status of the lights (on vs. off) was not updated at all in HA after the script was executed. The lights still show as off 5 minutes after. I also noticed that the light status was incorrect before I ran the script (lights were off, but were shown as on) so I turned them off in HA before running the script.
I think I saw mention somewhere else in this forum that others have had issues with status in HA being incorrect. Will have to look into that some more.
Understood and I have similar/same issues … BUT … only using insteon scene on/off. Which (in your post you referenced) is amplified by direct “scenes” in Insteon done by linking switches together.
I have several fanlincs. And I went through the process of linking those 6 button controllers to them which in itself is a nightmare just to be sure button “A” turns off button “B,C,D” etc.
Then I put in Home Assistant.
And I “deprogrammed” every direct button in all my multi-button switches because they are not used. Every place that I have a multi-button switch in the house now has a Android pad mounted above it. In fact, most people who visit/stay/live in our house do not even use switches anymore.
The fanlincs are hard wired to always hot (remember to duck when you connect it) and controlled through Home Assistant.
Don’t know what to say. I never invested in Insteon past my 2413S PowerLinc serial modem, 5 x 2477S switches scattered thoughout the house and a 2477D that I’m not currently using. I did have it in the bathroom for a while but it did not play well with the 6 LED bulbs and switched it out for a Zooz ZEN77 dimmer which does. And I’ve never used scenes of any type at any time.
I have a question. If I remember correctly, you’re the one with the 80 or 90 insteon devices lol
I want to pick up a fanlinc for the bedroom
I actually don’t care about the Lights part of it because the ceiling fan the lamps a couple light strips, etc. are all Phillips wiz and are controlled by their compatible light switch on the wall. The fan itself will be hardwired and I only want to use Home Assistant to control the speed of the fan.
No fancy insteon touchpad and no factory remote
My fan has six different fan speeds. Is that a problem with Fanlinc? Does it have to be three? Can you customize it to whatever amount of speeds you need so I don’t burn the motor out?
Thats all, wondering if you know the answer thanks
I think it is only three. Four if you count off. My fans are exactly like that. Hardwired, no switch, fanlinc only but are all three speed low, med, high.
If you still have the remote and it is IR or RF, i would buy a broadlink and program the codes. That way you have complete functionality without potential damage.
I use this for an 8 speed Big Ass Fan. Just program speed up, speed down, power on, power off, fwd, rev, and whoosh mode.
I actually do have a BroadLink for a couple other things. And I’ve tried to do exactly that with this fan but per my Google search, Harborbreeze runs on 304 MHz and BroadLink range is between 315 and 433.
I’ve tried a million times and I can’t get anything to be recognized
I bought this fan along before I was into Home automation and it’s the only one I have that I want to automate I might end up buying a whole new fan to suit my needs lol
I have a gate opener (non rolling code) that is on 310 and managed to get the Broadlink to pair. It did take many tries and being sure to hold the action button for a long time until the frequency scan completed and then tapped it once to grab it. Certainly at least 10-15 tries before I got it right.
304-310 are normally like the range of those little visor ones in a car.
I took a spare one button remote used to open the gate and a spare Broadlink I had at the house and after many tries, got it to work and could see the light flash. I took the base64 code and copied that into a script at the gate Broadlink which is even on a different Home Assistant instance and voila. I would note that I was not succesful just sending Broad Link + Device + Button name, it did not work even after it was memorized. It does work in the broadlink app though which is confusing … but the b64 code did the trick so maybe there is some frequency stored in that code.
Better, added that to a webhook and can tell my Alexa’s here … which goes … Alexa → Alexa Cloud → Nabu Home Cloud → Home Assistant → Home Asssitant Remote → Open Gate. Works in less than a second,
I drove myself crazy all day trying to do the BroadLink with ten fan . I was gettting the green check mark I. HA finally but nothing happening on the fan . Not sure what that b64 part means
Ok my bad I do know that is. If you look at my screen shot, fireplace and cigar(exhaust fan) hav been working great.
I just was able learn the power and speed one command for ceiling fan. When I close send remote command In developer tools it gives the green check mark. The light flashes on BroadLink. But nothing happens with the ceiling fan. Is the b64 command supposed to start with the letter B?
ITs one power button and 6 separate speed buttons.
I dunno, this might be a failed project. I dunno what IM doign wrong now, but I do the learn remote in developer tools, when broadlink light comes on I hold the button down on remote until ligth goes off. I press the button again when HA prompts me to… The Call service button turns green. But when i go to the storage file, there is nothing new added
SO now I can’t even pull hthe dam codes, to try and use them
And to make matters worse, I’ve just learned that I have a DC motor, which eliminates fanLinc