Announcement

Collapse
No announcement yet.

Everything running fine till I rebooted

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

    Everything running fine till I rebooted

    Once I rebooted I started getting the following console, not log, messages. I have no idea where to go from here. The Reboot was done with a clean shutdown.

    [Quote]Connecting to server at 127.0.0.1...
    12:20:18:9288:[Info]->Plugin PHLocation has connected. IP:127.0.0.1:56596
    Connected, waiting to be initialized...
    12:20:18:9897:[Starting Plug-In]->Initializing plugin PHLocation ...
    12:20:19:0153:[Starting Plug-In]->Plugin PHLocation started successfully in 25 milliseconds
    (Startup) Begins at 12:20:19.013
    12:20:19:0267:[PHLocation]->(Startup) Begins at 12:20:19.013
    (Startup) Plug-in version is: 3.0.1.109
    12:20:19:0385:[PHLocation]->(Startup) Plug-in version is: 3.0.1.109
    (Startup) Detected OS is Linux version 4.14.34.7
    12:20:19:0522:[PHLocation]->(Startup) Detected OS is Linux version 4.14.34.7
    (Startup) System decimal separator used is [.]
    12:20:19:0570:[PHLocation]->(Startup) System decimal separator used is [.]
    (LoadPiSettings) HSAppPath = /home/pi/HomeSeer
    12:20:19:0643:[PHLocation]->(LoadPiSettings) HSAppPath = /home/pi/HomeSeer
    (LoadPiSettings) ConfigPath = /home/pi/HomeSeer/Data/PHLocation/Config.phd
    12:20:19:0682:[PHLocation]->(LoadPiSettings) ConfigPath = /home/pi/HomeSeer/Data/PHLocation/Config.phd
    (LoadPiSettings) LogPath = html/PHLocation/Logs/
    12:20:19:0722:[PHLocation]->(LoadPiSettings) LogPath = html/PHLocation/Logs/
    (LoadPiSettings) ImagePath = images/PHLocation/
    12:20:19:0758:[PHLocation]->(LoadPiSettings) ImagePath = images/PHLocation/
    (LoadPiSettings) MapPath = html/PHLocation/Maps/
    12:20:19:0795:[PHLocation]->(LoadPiSettings) MapPath = html/PHLocation/Maps/
    (LoadPiSettings) DataPath = /home/pi/HomeSeer/Data/PHLocation/PHLocation.phd
    12:20:19:0831:[PHLocation]->(LoadPiSettings) DataPath = /home/pi/HomeSeer/Data/PHLocation/PHLocation.phd
    (LoadPiSettings) BinPath = /home/pi/HomeSeer/Data/PHLocation/
    12:20:19:0869:[PHLocation]->(LoadPiSettings) BinPath = /home/pi/HomeSeer/Data/PHLocation/
    (LoadConfigSettings) Called.
    12:20:19:3889:[PHLocation]->(LoadConfigSettings) Called.
    (LoadConfigSettings) Message panel enabled.
    12:20:19:6795:[PHLocation]->(LoadConfigSettings) Message panel enabled.
    (LoadConfigSettings) Logging of http requests to file is ON.
    12:20:19:7124:[PHLocation]->(LoadConfigSettings) Logging of http requests to file is ON.
    (LoadConfigSettings) iCloud max retries set to 6
    12:20:19:7456:[PHLocation]->(LoadConfigSettings) iCloud max retries set to 6
    (LoadConfigSettings) iCloud give up after 5 tries.
    12:20:19:7589:[PHLocation]->(LoadConfigSettings) iCloud give up after 5 tries.
    (LoadConfigSettings) iCloud retry time 5000 ms.
    12:20:19:7724:[PHLocation]->(LoadConfigSettings) iCloud retry time 5000 ms.
    (LoadConfigSettings) Using stored iCloud client ID: Cloud ID Removed
    12:20:19:7858:[PHLocation]->(LoadConfigSettings) Using stored iCloud client ID: Cloud ID Removed
    (LoadConfigSettings) UTC offset secs: -25200
    12:20:19:8217:[PHLocation]->(LoadConfigSettings) UTC offset secs: -25200
    (LoadConfigSettings) http Server is switched OFF.
    12:20:20:0471:[PHLocation Warning]->(LoadConfigSettings) http Server is switched OFF.
    (Startup) LoadIniSettings completed OK.
    12:20:20:0505:[PHLocation]->(Startup) LoadIniSettings completed OK.
    (LoadWebServerSettings) Called.
    12:20:20:0554:[PHLocation]->(LoadWebServerSettings) Called.
    (Startup) LoadWebServerSettings completed OK.
    12:20:20:1251:[PHLocation]->(Startup) LoadWebServerSettings completed OK.
    (Startup) Existing installation detected. Running version update check.
    12:20:20:1388:[PHLocation]->(Startup) Existing installation detected. Running version update check.
    (Startup) Database version is: 9
    12:20:20:1661:[PHLocation]->(Startup) Database version is: 9
    (Startup) Database structure update not required.
    12:20:20:1698:[PHLocation]->(Startup) Database structure update not required.
    (Startup) Plug-In is licensed.
    12:20:20:1974:[PHLocation]->(Startup) Plug-In is licensed.
    (CreateDeviceLists) iAccount type device PHLCIC[109]R added to monitoring list.
    12:20:22:3352:[PHLocation]->(CreateDeviceLists) iAccount type device PHLCIC[109]R added to monitoring list.
    (CreateDeviceLists) There are no active custom user devices. Setting monitoring to OFF.
    12:20:22:3493:[PHLocation]->(CreateDeviceLists) There are no active custom user devices. Setting monitoring to OFF.
    (CreateDeviceLists) Message panel DvRef: 277
    12:20:22:3627:[PHLocation]->(CreateDeviceLists) Message panel DvRef: 277

    Unhandled Exception:
    System.InvalidCastException: Conversion from string "" to type 'Single' is not valid. ---> System.FormatException: Input string was not in a correct format.
    at System.Number.ParseSingle (System.String value, System.Globalization.NumberStyles options, System.Globalization.NumberFormatInfo numfmt) [0x00083] in <ee725f74938b4972b8a81df0be67ae23>:0
    at System.Single.Parse (System.String s, System.Globalization.NumberStyles style, System.Globalization.NumberFormatInfo info) [0x00000] in <ee725f74938b4972b8a81df0be67ae23>:0
    at System.Single.Parse (System.String s, System.Globalization.NumberStyles style, System.IFormatProvider provider) [0x0000e] in <ee725f74938b4972b8a81df0be67ae23>:0
    at System.Convert.ToSingle (System.String value, System.IFormatProvider provider) [0x00009] in <ee725f74938b4972b8a81df0be67ae23>:0
    at Microsoft.VisualBasic.CompilerServices.SingleType.Parse (System.String Value, System.Globalization.NumberFormatInfo NumberFormat) [0x00001] in <fe9fda1069a94f91bfce2cf4843c5ea6>:0
    at Microsoft.VisualBasic.CompilerServices.SingleType.FromString (System.String Value, System.Globalization.NumberFormatInfo NumberFormat) [0x00001] in <fe9fda1069a94f91bfce2cf4843c5ea6>:0
    at Microsoft.VisualBasic.CompilerServices.SingleType.FromString (System.String value) [0x00004] in <fe9fda1069a94f91bfce2cf4843c5ea6>:0
    --- End of inner exception stack trace ---
    at Microsoft.VisualBasic.CompilerServices.SingleType.FromString (System.String value) [0x00042] in <fe9fda1069a94f91bfce2cf4843c5ea6>:0
    at Microsoft.VisualBasic.CompilerServices.Conversions.ToSingle (System.String Value) [0x00001] in <fe9fda1069a94f91bfce2cf4843c5ea6>:0
    at q.h () [0x00116] in <a6f1551810264df9a62b91bc5b3fd174>:0
    at HSPI_PHLocation.HSPI.StartPlugin () [0x00e33] in <a6f1551810264df9a62b91bc5b3fd174>:0
    at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <ee725f74938b4972b8a81df0be67ae23>:0
    at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <ee725f74938b4972b8a81df0be67ae23>:0
    at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <ee725f74938b4972b8a81df0be67ae23>:0
    at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <ee725f74938b4972b8a81df0be67ae23>:0
    at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <ee725f74938b4972b8a81df0be67ae23>:0
    [ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidCastException: Conversion from string "" to type 'Single' is not valid. ---> System.FormatException: Input string was not in a correct format.
    at System.Number.ParseSingle (System.String value, System.Globalization.NumberStyles options, System.Globalization.NumberFormatInfo numfmt) [0x00083] in <ee725f74938b4972b8a81df0be67ae23>:0
    at System.Single.Parse (System.String s, System.Globalization.NumberStyles style, System.Globalization.NumberFormatInfo info) [0x00000] in <ee725f74938b4972b8a81df0be67ae23>:0
    at System.Single.Parse (System.String s, System.Globalization.NumberStyles style, System.IFormatProvider provider) [0x0000e] in <ee725f74938b4972b8a81df0be67ae23>:0
    at System.Convert.ToSingle (System.String value, System.IFormatProvider provider) [0x00009] in <ee725f74938b4972b8a81df0be67ae23>:0
    at Microsoft.VisualBasic.CompilerServices.SingleType.Parse (System.String Value, System.Globalization.NumberFormatInfo NumberFormat) [0x00001] in <fe9fda1069a94f91bfce2cf4843c5ea6>:0
    at Microsoft.VisualBasic.CompilerServices.SingleType.FromString (System.String Value, System.Globalization.NumberFormatInfo NumberFormat) [0x00001] in <fe9fda1069a94f91bfce2cf4843c5ea6>:0
    at Microsoft.VisualBasic.CompilerServices.SingleType.FromString (System.String value) [0x00004] in <fe9fda1069a94f91bfce2cf4843c5ea6>:0
    --- End of inner exception stack trace ---
    at Microsoft.VisualBasic.CompilerServices.SingleType.FromString (System.String value) [0x00042] in <fe9fda1069a94f91bfce2cf4843c5ea6>:0
    at Microsoft.VisualBasic.CompilerServices.Conversions.ToSingle (System.String Value) [0x00001] in <fe9fda1069a94f91bfce2cf4843c5ea6>:0
    at q.h () [0x00116] in <a6f1551810264df9a62b91bc5b3fd174>:0
    at HSPI_PHLocation.HSPI.StartPlugin () [0x00e33] in <a6f1551810264df9a62b91bc5b3fd174>:0
    at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <ee725f74938b4972b8a81df0be67ae23>:0
    at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <ee725f74938b4972b8a81df0be67ae23>:0
    at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <ee725f74938b4972b8a81df0be67ae23>:0
    at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <ee725f74938b4972b8a81df0be67ae23>:0
    at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <ee725f74938b4972b8a81df0be67ae23>:0
    12:20:22:5365:[Info]->Plugin PHLocation with instance: has disconnected

    [Quote]
    Last edited by Timon; June 19, 2018, 10:26 PM.
    HomeSeer Version: HS3 Standard Edition 3.0.0.548
    Linux version: Linux auto 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
    Number of Devices: 484 | Number of Events: 776

    Enabled Plug-Ins: 3.0.0.13: AirplaySpeak | 2.0.61.0: BLBackup
    3.0.0.70: EasyTrigger | 1.3.7006.42100: LiftMaster MyQ
    4.2.3.0: mcsMQTT | 3.0.0.53: PHLocation2 | 0.0.0.47: Pushover 3P
    3.0.0.16: RaspberryIO | 3.0.1.262: Z-Wave

    Z-Net version: 1.0.23 for Inclusion Nodes
    SmartStick+: 6.04 (ZDK 6.81.3) on Server

    #2
    I was in the same boat this morning, same error after enabling debugging on PIs as it would start and stop constantly.

    So decided to rename the phd files, delete the objects in HS and start from scratch.

    One thing I noticed is that common places just doesn't work for me. I put one in, tick the box, and it unticks itself.
    Is there something I need to do to get it to work, as it does this:
    Code:
    Jun-13 08:39:33	 	PHLocation	(BuildCommonPlaces) Total common places enabled: 1
    Jun-13 08:39:33	 	PHLocation	(BuildCommonPlaces) Added Home to common places list.
    But no devices are created.

    Comment


      #3
      Might be the root cause, as I've got multiple errors complaining about various tables/DBs:
      Code:
      missing database no such table: LocationHistory 
      missing database no such table: UserMaps
      missing database no such table: Version
      missing database no such table: FenceHistory
      Is there any way of forcing these to be recreated? I'd rather not start over and recreate the devices and locations since some are tasker and the ID changes if you recreate.
      Last edited by Furious; June 13, 2018, 09:33 AM.

      Comment


        #4
        I guess we'll just have to see what Sooty says.
        HomeSeer Version: HS3 Standard Edition 3.0.0.548
        Linux version: Linux auto 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
        Number of Devices: 484 | Number of Events: 776

        Enabled Plug-Ins: 3.0.0.13: AirplaySpeak | 2.0.61.0: BLBackup
        3.0.0.70: EasyTrigger | 1.3.7006.42100: LiftMaster MyQ
        4.2.3.0: mcsMQTT | 3.0.0.53: PHLocation2 | 0.0.0.47: Pushover 3P
        3.0.0.16: RaspberryIO | 3.0.1.262: Z-Wave

        Z-Net version: 1.0.23 for Inclusion Nodes
        SmartStick+: 6.04 (ZDK 6.81.3) on Server

        Comment


          #5
          I fixed my problem - the db file was zero bytes, compared to the base one in the PI zip file.

          Stopped the PI, copied the Db file over the top, started, all sorted

          Comment


            #6
            Which file are you talking about as I don't see a db file?
            HomeSeer Version: HS3 Standard Edition 3.0.0.548
            Linux version: Linux auto 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
            Number of Devices: 484 | Number of Events: 776

            Enabled Plug-Ins: 3.0.0.13: AirplaySpeak | 2.0.61.0: BLBackup
            3.0.0.70: EasyTrigger | 1.3.7006.42100: LiftMaster MyQ
            4.2.3.0: mcsMQTT | 3.0.0.53: PHLocation2 | 0.0.0.47: Pushover 3P
            3.0.0.16: RaspberryIO | 3.0.1.262: Z-Wave

            Z-Net version: 1.0.23 for Inclusion Nodes
            SmartStick+: 6.04 (ZDK 6.81.3) on Server

            Comment


              #7
              Sorry about the lack of responses, I've been busy with non HA tasks recently.

              There is a "potential" problem with the current version relating to common places.
              The issue arose with the last update when I changed from using an ini file to a database for the config data.
              If a common place had been added and subsequently removed with the old version, then updating to the new version would cause the plug-in to think that the removed common place was still active but it then falls over trying to load the non-existent data for that common place.

              Until I can get a new version out, the workaround is a manual edit of the configuration database.

              If you are seeing this issue with common places, email me the following file from your system
              \HS3\Data\PHlocation\Config.phd

              I will make the necessary changes and email the repaired file back to you.

              Paul..

              Comment

              Working...
              X