Yes, it is definitely possible. In the light.turn_on service, you can also specify a variable for brightness_pct to control a dimmer’s brightness.
When you build the automation in the UI, you should also be able to specify brightness. This is dependent on the light/switch comming in as a dimmer though through the Insteon integration.
Great, thanks. Still working on trying to remember how I got the Hyper-V setup. I guess if I do it enough, I’ll become an expert. I haven’t done a virtual machine for a LONG time. Probably 10 years or so. I used to be a programmer. First program written in 1966. Had about 43 years as a professional programmer. But I did the software and didn’t like having to figure out hardware. Now I get to do that again…
When my virtual machine starts, I see a flash of a big red banner and I think there is a lock on it. Is that normal? What is it trying to indicate? And how can one stop the starting or record it so that I could see exactly what it was showing? (these are probably Hyper-V questions)
I got it all set up again and it is working. I just deleted the whole VM and started again. I read that HA could run on a synology box so I will try that. I have a notion it will work even better there.
I thought the red flash at the beginning was probably an HA/linux thing so you might know. What OS/hardware are you running docker on?
If you plan on adding zigbee and/or zwave usb sticks, I would avoid synology. Many have reported problems- The issue being the synology os is somewhat locked down and doesn’t pass the usb sticks through to Home Assistant well. See this thread for potential complications.
I’m running Ubuntu on a used Dell Optiplex. Plenty of memory/speed, and system was cheap.
Not planning on getting anything new (except maybe a couple more Insteon devices if I can still buy them). I’ve got 36 Insteon devices so I won’t be switching. But good to know about the USB problem. Hopefully Synology can resolve that eventually.
I installed the HA package on the Synology. Directions were a little confusing. I’m guessing those directions were from before the DSM 7.x update. I saw in a log that it apparently didn’t find the config. It LOOKS like the settings are proper for a shared folder “/docker” and then a couple of subfolders and that was all showing in the settings. Don’t know if it is a permissions issue. Will have to look into that more unless you have any clues (though you don’t have it running on a Synology).
I found in the log: “Unable to find configuration. Creating default one in /config”. Since the config folder was mounted in /config, I assume it then found the one I specified? Or maybe it made one there anyway? I do see a bunch of files there, so maybe that is all normal behavior.
And the last thing that was confusing was the instructions for the TimeZone. The instructions say this:
variable = TZ & value = Europe/London
but the Synology UI just has a field for “variable” and a field for “value”. What do you think?
variable column should have “TZ & value” and value is “Europe/London”? Or do you think variable is just “TZ” and value is “Europe/London”. I think I did it wrong initially and think the latter is the way to go. I’m going to try that, but let me know if you can tell from your Ubuntu work. Thanks.
I got HA integration installed on the Synology box. So far, it only found 11 of 36 devices on the hub. I don’t know if it is because the Hyper-V HA already got the 36 and I edited all but one of the switches to have good names and Area specification. I’ve let the Synology HA run for a while and doesn’t seem to be picking up any more. Do you think I should just start adding them in manually? Or give it an hour or more to maybe find more?
I tried removing the Insteon integration and restarting the docker container and reintegrating, but didn’t help also tried remove integration and restarting the synology box. No difference.
Any ideas?
Is there a way to tell the integration to go to the hub again and look for devices?
… time passes …
I WAS able to just add one of the missing devices manually so now I have 12 devices. Odd that it didn’t pick them all up. However, I might have confused it by running the Hyper-V HA and the same time I was running the Synology HA. FWIW, I like the Synology one better already. It discovered more more integrations than the Hyper-V version did (a couple of printers and a couple of Roku’s).
I guess I will go ahead and add the rest of the missing devices manually . Bummer.
If it is new install there is no config and it creates one at initial startup. This is normal behavior, unless you are trying to map to an old install, in which case there is a problem with the data or the path wasn’t specified properly;
In addition to the USB pass through problems I mentioned above, VM’s often don’t pass through all network connections, have a firewall of some sort that blocks UPNP connections, or requires “extra” network configuration to open these connections from host to VM (depending on the VM used). For discovery to work, ALL network connections must be open from the Home Assistant instance in the VM to the network the host machine is running on, including UPNP connections. If there is a block anywhere on the path it will not discover the integration. For Hyper-V, there could be a setting somewhere to enable these connections, but I’m not familiar with it.
The Home Assistant Container install eliminates this block because Docker can use “host networking” mode (at least on a Linux OS install) which removes any isolation between the Home Assistant container and host machine. However, Home Assistant Container does not include the Home Assistant “addons”, and is a bit more advanced.
For anyone starting out, I recommend these Everything Smarthome Videos, specifically on “install type” and hardware recommendations:
I’ve been successfully adding my SwitchLinc devices through configuration. But I have an “On/Off Module” that is a category 0x02 and subcategory 0x37. I add it, but it doesn’t show up in the list of devices on the Synology HA. Do you know if there is a reason for that?
Thanks for the links. I think I already watched both of those, but I’ll double check.
… time passes …
I continued to add stuff manually and most of it was going ok. Just 2 on/off type switches didn’t show up. So I finally restarted the docker task and reconnected to HA and NOW those 2 show up. Odd. But good
I had to add an on/off switch with the same cat and subcat using default override. It then didn’t appear in the device list, but after restarting HA it showed up.
Thanks, I figured that out at the end of my last post.
Everything was working great and then we were watching YouTube TV on the Xbox and it stopped working. It took a while of rebooting router, etc. until that all came back. HOWEVER, 2 things were still screwed up.
A camera that was working with ICSEE on the phone and CMS on the PC stopped working and no longer is known to the router. (maybe the antenna blew off in a storm yesterday and I’ll check that in the morning).
The Insteon IP address was changed in the router. It used to be like 192.168.0.53 and now it is on 192.168.0.13.
How do I change the HA in Synology to use the new IP or change something else so that it is back to 53?
Nothing is ever easy… I just finished manually putting all the 36 devices manually and everything was working. But since the crash, not so much.
… time passes …
I sure hope I don’t have to remove the integration for insteon and add it all again…
… time passes …
I woke up from sleep remembering that the Configure had something about changing the hub. I selected that and was able to change the IP for the Insteon Hub. My HA is working again.
Now I have to find out if the router is allowing static addresses so that it doesn’t get changed again.
You will need to reserve an IP address for your Insteon hub, since as you found, the integration will stop working if it changes.
Instructions on how you reserve an IP is specific to your router, but will be done through the router’s configuration page or mobile app. I’ve never owned a router that did not allow you to reserve an IP, it’s just different for each of them.
Yes, I’ve set up static addresses before, though it was long ago enough I don’t remember how, but I can figure that out. I’m a bit worried that the modem/router seemed to have reset itself when I unplugged the power and plugged it back in. I’ve been having a lot of trouble with wifi occasionally dropping connections and so I just power off and on and then it is okay.
But this time, it prompted for changing the password. Hopefully some bad actors haven’t gotten into it.
Getting back to HA… I just manually configured another switchlinc, but it didn’t manage to add it to the insteon. It doesn’t respond to on/off in HA. And when I look at its details, it says Firmware: 00 and engine version: unknown.
Maybe I’ll try restarting HA. If you have any other ideas on this one, let me know.
Another switch in that same switch box has the exact same model switch with the same rev. no. And that one works fine.
… time passes …
No, restarting doesn’t help. When I try to switch it on in HA, the switch position just goes back to off after about 5 seconds. I presume it isn’t able to talk to the switch.
… time passes …
Not sure what changed, but all of the switchlinc and outletlinc devices appear to be registered and working now. I just have to play with the garage door opener that I made and see if that works.
I have an I/O Linc that I set up to do 2 things. Operate the remote of the opener when the “switch” is turned off. And using the sensor to know when it is fully open. (I hooked up a magnetic alarm switch to the top of the door and wired it to the I/O Linc. It worked with Insteon app.
So the “switch” opens and closes the garage door just fine. But the sensor doesn’t seem to be getting triggered back to HA. Any ideas what to do?
Maybe this “device override” option? The documentation mentions that Home Assistant does its best guess to figure out device type, but that configuration may need to be override. This link will take you right to the override section.
You can also try unlinking then relinking the device.
It’s possible some higher functions of insteon devices might not translate over though and you would need an alternate contact sensor (ie zigbee or zwave)
When I configured the I/O Linc, HA figured out that there was a relay and a sensor and created icons for those. The problem is just that it isn’t changing state on the display. I read about someone else having this same problem back in 2018 and someone responded in the forum that the behavior on the state was fixed. Maybe a change to the code was lost since then?
I’ll have to find out how to get/look at the logs. Also is there a file editor that works in the Synology docker HA? Not critical, but was curious. I see that others have done something with that, but I don’t know how they did it.
… time passes …
Logbook doesn’t seem to show ANYTHING about having opened and closed the door (or sensor state changing) which I do it from the “Overview” interface.
… time passes …
Oh, I see it in the object “logbook” when clicking on it from the “Overview”. And as I would suspect, it shows an event for the switch when opening or closing the door, but nothing for the sensor.