The insteon plugin stops working after a power interruption. Coming home to a dark house or lights on during the day. Sometimes disable/enable plugin brings it back but most time have to reboot HS3. It just happened yesterday. See screen shot below. Rpi is on UPS power and PLM is plugged directly into AC line. Need to improve power fail resilience. How should I proceed? Specifics on getting logs off Rpi. Pls advise. Thanks.
Announcement
Collapse
No announcement yet.
Insteon Plug in stops working after power interruptions (HS3 Rpi3b+)
Collapse
This topic is closed.
X
X
-
The plugin does not know when a power failure occurs. It just knows when it can't communicate with the Interface (ie PLM). So if it has troubles 10 times in a row, it will shut itself down, otherwise it will continue to throw errors into the HS log (which people didn't want)
There are event actions you can use to disable and enable the plugin in an event of power loss. You will need some other trigger however.Mark
HS3 Pro 4.2.19.5
Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway | Tuya Smart Plugs
Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 | Ultra1Wire3 | RFXCOM | HS MyQ | BLRadar | BLDenon | Tuya | Jon00 Charting | Jon00 Links
Platform: Windows Server 2022 Standard, i5-12600K/3.7GHz/10 core, 16GB RAM, 500GB SSD
-
Originally posted by mnsandler View PostThe plugin does not know when a power failure occurs. It just knows when it can't communicate with the Interface (ie PLM). So if it has troubles 10 times in a row, it will shut itself down, otherwise it will continue to throw errors into the HS log (which people didn't want)
There are event actions you can use to disable and enable the plugin in an event of power loss. You will need some other trigger however.
please advise.
thanks and regards,
Brian
Comment
-
This topic is discussed at length in this thread and should answer all your questions:
https://forums.homeseer.com/forum/li...a-power-outage
- Likes 1
Comment
-
Originally posted by ve3bwp View Post
Hi Mark, thanks for this info. I do have a power fail detector. It’s a wall wart powered relay whose contacts are connected to an i/o module. So how do i use this in an event to reset the plug in? Tested example please?
please advise.
thanks and regards,
Brian
Comment
-
Originally posted by ve3bwp View PostGreat! Thanks folks! I will give it a go. Not sure how I missed that this was a requirement to keep the plug in from shutting down. It's documented somewhere?
Does a reboot also restart the 10 trouble shutdown counter?Mark
HS3 Pro 4.2.19.5
Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway | Tuya Smart Plugs
Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 | Ultra1Wire3 | RFXCOM | HS MyQ | BLRadar | BLDenon | Tuya | Jon00 Charting | Jon00 Links
Platform: Windows Server 2022 Standard, i5-12600K/3.7GHz/10 core, 16GB RAM, 500GB SSD
Comment
-
Originally posted by mnsandler View Post
the trouble counter will reset after a restart, the counter also resets every time the plugin transmit successfully. You may also adjust the counter threshold on the Advanced tab in the latest beta plugin.
I have an automatic genset so the longest the PLM is without power is 20 secs.
If I increase the threshold from 10 to something like 1000 in the beta would that solve the problem?
Dont take this wrong way but Insteon power fail recovery seems to be the main cause of coming home to a dark house (and cold water) which is every automators worst nightmare. Is there not extra logic that should be built in to the plug-in? For example could you not have an setting to point the plugin to the power fail detection device?
i seem to have been blocked from accessing the Msandler insteon plugin feature requests thread. Says to contact admin but admin does not accept messages. I used to be able to view it. Can you fix that?
Anyway, in the meantime would setting the threshold in the beta from 10 to 1000 be fine or will it fill up a log file too fast?
Comment
-
Originally posted by mnsandler View Post
the trouble counter will reset after a restart, the counter also resets every time the plugin transmit successfully. You may also adjust the counter threshold on the Advanced tab in the latest beta plugin.
Comment
-
Brian,
the retries (on the config page) is a separate setting that tracks message attempts sent to a device.
The "Failed Tx Threshold: 10" (that we have been discussing) tracks how many 'consecutive' times the plugin can't communicate with the PLM. the internal counter gets reset on every successful attempt to reach the PLM (regardless of the device response)
if you have a generator that kicks in after 20 secs on a power failure, then you shouldn't need to change any settings. if the generator power isn't keeping the plm happy/online, then maybe there is noise from the generator power. the generator power could be causing noise that is flooding the plm and rendering it non-responsive.
My 16kw generac kicks in after 15 secs, and I never have an issue with the plugin or plm dropping offline.
I have built into the plugin as many reliability monitors, triggers and actions as i can to help with power failure recovery, and other failures. I dont think there is anything else significant i can do.
Mark
HS3 Pro 4.2.19.5
Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway | Tuya Smart Plugs
Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 | Ultra1Wire3 | RFXCOM | HS MyQ | BLRadar | BLDenon | Tuya | Jon00 Charting | Jon00 Links
Platform: Windows Server 2022 Standard, i5-12600K/3.7GHz/10 core, 16GB RAM, 500GB SSD
Comment
-
Originally posted by ve3bwp View Post
I am not getting the AND IF "0 Interfaces Insteon Status has a Value Equal to OK". How do I get that option to show?
Do I need another plug in for that?
...
Comment
-
Originally posted by joegr View Post
No, just create a virtual device named "Insteon Status" with at least the statuses of "Enabled" and "Disabled." I have a few other status pairs for other events, but you really only need those two for the two events listed to work. It's just there to keep the second event from triggering over and over.
Comment
-
Originally posted by mnsandler View PostBrian,
the retries (on the config page) is a separate setting that tracks message attempts sent to a device.
The "Failed Tx Threshold: 10" (that we have been discussing) tracks how many 'consecutive' times the plugin can't communicate with the PLM. the internal counter gets reset on every successful attempt to reach the PLM (regardless of the device response)
if you have a generator that kicks in after 20 secs on a power failure, then you shouldn't need to change any settings. if the generator power isn't keeping the plm happy/online, then maybe there is noise from the generator power. the generator power could be causing noise that is flooding the plm and rendering it non-responsive.
My 16kw generac kicks in after 15 secs, and I never have an issue with the plugin or plm dropping offline.
I have built into the plugin as many reliability monitors, triggers and actions as i can to help with power failure recovery, and other failures. I dont think there is anything else significant i can do.
First post (#2) above: Your advise "There are event actions you can use to disable and enable the plugin in an event of power loss. You will need some other trigger however." I asked for an example. How do I disable/reenable your plug-in in HS3 (non Pro)? Sounds great. What do these event actions look like? No reply.
The example Joegr provides I do not have those AND IF options of "0 Interfaces Insteon Status". I'm on HS3 (non Pro) so can you please instruct my how to execute what you asked me to do? I will gladly create and event to do as you suggested. I just need the specifics. You wrote the plugin I think it's reasonable to look to you to provide the details.
Then In your post (#9) you told me .. "You may also adjust the counter threshold on the Advanced tab in the latest beta plugin.". No answer when I asked if I could increase it. Also no answer when I asked what I can adjust it to? What is the range? Where do I get the Beta Plugin you refer to? Again, no reply.
Please if you could just follow me long enough to answer these questions it could probably solve the problem. I'm trying my best to stay on track and follow your advise.
You think the fault is my generator. My Generator has not kicked in over a month. It's a full inverter true sine wave unit that my very fussy UPSes report 100% power quality on. I paid extra for that. We are now in the midst of an ice storm weather event. The power flickered several times/day but not long enough to start the generator.. and the plugin stayed working for the first few flickers over about 24 hour period until one more flicker.. then it was stuck on "Plugin Start is Pending". I rebooted and it came back. This happens every few weeks unless I remember to reboot the system every week or so.
So can you help me get through your first two suggestions...this as I am doing everything possible to follow your advise! Please advise. Thanks much.
Comment
Comment