Announcement

Collapse
No announcement yet.

Insteon Plug in stops working after power interruptions (HS3 Rpi3b+)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ve3bwp
    replied
    OK. Will do. Keep in mind the HSlogs are not ascii and are too large for the forum attachments and I am not comfortable trying to slice up a database file.Simulated power fails with logging coming up as per post #35...more to come... thanks.

    Leave a comment:


  • mnsandler
    replied
    Brian,

    I have been working with you on this for more than 2 weeks. Can you please run the tests from post #35 above and post the hs log. or hit the Generate on my plugin and post those logs, or better yet post both.My logging is centered around exception handling. if the plugin just crashes its probably not going to log anything; the OS should capture that event.

    Leave a comment:


  • ve3bwp
    replied
    Originally posted by mnsandler View Post
    Brian

    i dont see anything unusual in the log you provided. there might be older hs log database files in the homeseer log folder. you should be able to open them with a sqlite database browser tool.

    If hs is locking up, there is something else going on. the plugin runs in its own memory space, so if the plugin crashes, it has no impact on HS.

    I don't know anything about the platform you are running HS on, but you should find some tools that will allow you to monitor running processes, and a tool to review OS logs to see if they can shed any light on what's going on.
    Here is my concern: - I purchased a turn key HS3Rpi image and a turnkey plugin from HomeSeer. Why am I getting push back to troubles shoot the turn key image?
    - You've indicated you do not know linux or the Rpi yet you represent HomeSeer and charge for your product. Anything I ever wrote software for
    I had my own system at home running it.
    - The fault logging methods in the plugin seems totally inadequate for you to support it.

    Bottom line is Insteon stops working after power interruptions and no one at Homeseer seems to have a system running to test these turn key images. Other on here have expressed the same frustrations for at least as long as I have. Can I help you get help from HS by escalating to them or will you be working your partnership with them to troubleshoot your part of the turn key image? All I ask is I get the tested turn key product I paid for.

    Please advise.

    Brian

    Leave a comment:


  • ve3bwp
    replied
    Most of the crashes just causes loss of Insteon action but not a HomeSeer crash. I can still usually navigate and interact with the plugin.

    I will go look for older log files.

    The linux environment and HS3Pi program comes as one image from HomeSeer.

    Leave a comment:


  • mnsandler
    replied
    Brian

    i dont see anything unusual in the log you provided. there might be older hs log database files in the homeseer log folder. you should be able to open them with a sqlite database browser tool.

    If hs is locking up, there is something else going on. the plugin runs in its own memory space, so if the plugin crashes, it has no impact on HS.

    I don't know anything about the platform you are running HS on, but you should find some tools that will allow you to monitor running processes, and a tool to review OS logs to see if they can shed any light on what's going on.

    Leave a comment:


  • ve3bwp
    replied
    As requested attached. I can't pull up any log activity prior to 5:45PM which is around the time I had to reboot. I set the filters from 1:00AM to 8:00pm which is all it would allow. It won't let me select any dates other then today. WIll there be older data in the hs log db file itself?
    Attached Files

    Leave a comment:


  • mnsandler
    replied
    Can you first just filter the hs Log using the built in Filter feature. Select Type as Insteon then click apply

    then look through the entries for anything related to the power outage, errors, etc

    Leave a comment:


  • ve3bwp
    replied
    OK I've got a few things happening here so can't do the power outages for a couple of weeks. . I will action that part and get back to you.

    But in the meantime: So you need the HS log file filtered for lines with the keyword Insteon and in the date range of say.. January 28th to 30th 5:00PM? Just so we're on the same page, what do you recommend to use as a way to do this so nothing slips through the filters. I have both Mac OS and Windows 10 so let me know what process you have had the most success with. As I recall it was in a database format that did not show everything in a text viewer.

    Just to be sure...what is the exact name and location of the hs log file you want me to filter?

    Please advise.

    Thanks,

    Brian

    Leave a comment:


  • mnsandler
    replied
    the error in the log was generated at startup, and will not cause the plugin to malfunction. The routine that caused the error does an upgrade on any hidden door sensor hs devices. Its enclosed in a try/catch. so that is not the culprit.

    did you review the hs log using a filter to view only the Insteon entries?

    i need an error log at the time the plugin crashed. i think its time to simulate some power outages, and watch the hs log to see what the plugin is doing. Enabled detailed logging in the plugin before testing.

    Leave a comment:


  • ve3bwp
    replied
    Hi Mark, First crash since I loaded the beta. Power had been pretty stable despite the weather. Today there was a power utility truck in our driveway. I went out to ask him what's up and he said he had to replace our smart meter. Apparently they randomly swap out meters and test them for accuracy and my number was up. So I was expecting a power bump but there was nothing that I could detect. Not sure if they have some way of swapping meters without dropping the power. So I can't be sure if that was a factor or not. I'm not even sure he changed the meter. He was gone before I could ask.

    Anyway I can't be sure exactly when the Insteon plugin locked up. It was sometime in the last 24 hours from what I can tell. I had to set up an insteon hub just to keep the basics running to keep the lights going and the water heater off during peak power hours. I know the Homeseer based SONOS announcements were working yesterday.

    I tried to get into the plugin to run a support log but it was not offering up the config page. I tried to disable/reenable but homeseer locked up when I tried to slide the switch. I had to cycle power to the Rpi. When HomeSeer came back up the plugin was disabled. I reenabled and got the log (attached). I took a snaphot of the Homeseer log screen as well (attached). I can't really decipher the logs beyond knowing there was an error. Is there someway I could run a loop back test every half hour or so?

    Please advise.

    Thanks,
    Click image for larger version

Name:	Screen Shot 2020-01-30 at 4.39.22 PM.png
Views:	73
Size:	208.9 KB
ID:	1357934Click image for larger version

Name:	Screen Shot 2020-01-30 at 5.14.01 PM.png
Views:	46
Size:	407.5 KB
ID:	1357935

    Leave a comment:


  • ve3bwp
    replied
    Hi Mark, Yup.. no news is good news. Power lines are still loaded with ice but no flickers logged. I was hoping it would have thawed by now.

    Insteon has been stable so in a few days I'll start simulating some power outages and let you know. Thanks for checking in.

    Leave a comment:


  • mnsandler
    replied
    Originally posted by ve3bwp View Post

    We just had a good dumping of snow today so I'm going to hold off doing any power fail simulations until things return to normal hopefully sometime next week. They are calling for temps to get above freezing so we may finally get rid of some of that ice. My Ham antennas are all coated so hoping they hang in until a thaw comes. I'll let you know how it goes. Thanks. More to come...
    is no news, good news? anything to report? anything in the hs log?

    Leave a comment:


  • ve3bwp
    replied
    Originally posted by mnsandler View Post
    Brian,

    As a controlled test, enable detailed logging within the plugin, cut the breaker to the plm circuit, and watch the hs log to see how the plugin responds. Variations of this test would be to cut the breaker off & on every few seconds.

    Otherwise, we wait.

    ps. nice pic
    We just had a good dumping of snow today so I'm going to hold off doing any power fail simulations until things return to normal hopefully sometime next week. They are calling for temps to get above freezing so we may finally get rid of some of that ice. My Ham antennas are all coated so hoping they hang in until a thaw comes. I'll let you know how it goes. Thanks. More to come...

    Leave a comment:


  • mnsandler
    replied
    Brian,

    As a controlled test, enable detailed logging within the plugin, cut the breaker to the plm circuit, and watch the hs log to see how the plugin responds. Variations of this test would be to cut the breaker off & on every few seconds.

    Otherwise, we wait.

    ps. nice pic

    Leave a comment:


  • ve3bwp
    replied
    Originally posted by mnsandler View Post

    you will find it in the Updater which is available on the Plugin/Manage page. See the Additional Interfaces section at the bottom. Then you will see a Beta section. Look for the Insteon BETA 3.0.7.17
    OK found it... dahh! (I've got 4 different Rpi systems on the go and each one handles beta's differently).

    Will do on the 'generate error report log'.

    It has yet to rise about freezing since last weeks ice storm and they are calling for another 20cm of snow tonight so things should get even more interesting for the power line crews.

    So now we wait?

    Any other due diligence I need to be considering?

    Thanks!

    Click image for larger version

Name:	Screen Shot 2020-01-17 at 11.21.19 AM.png
Views:	70
Size:	292.0 KB
ID:	1354870
    Click image for larger version

Name:	IMG_2404.PNG
Views:	68
Size:	174.8 KB
ID:	1354871
    Attached Files

    Leave a comment:

Working...
X