tomwpublic / hubitat_SmartHQ

Apache License 2.0
5 stars 1 forks source link

library not found on line 48: #include tomw.smarthqHelpers #15

Open ShaggySS opened 1 year ago

ShaggySS commented 1 year ago

I tried installing this via the Hubitat Package manager and received an error. Tried manually installing it and I get this error library not found on line 48: #include tomw.smarthqHelpers

tomwpublic commented 1 year ago

You need to use HPM 1.8.5 or later. Please check the HPM code in Apps Code to verify the version that you have installed.

ShaggySS commented 1 year ago

I have 1.89 installed at the moment. No updates are available.

tomwpublic commented 1 year ago

Check it actually in the Apps Code area (in the source code itself). The HPM app itself can report the version incorrectly.

ShaggySS commented 1 year ago

You are correct. The App code was listed at 1.8.3. Went to the website and downloaded the latest 1.88, then from the package manager it updated to 1.89. I tried installing it using the package manager and it get stuck on...Your installation is in progress please wait. I let that run for 15 min and no change. updated habitat to the latest version and rebooted and tried again, same issue.

I decided to try the manual install and copied the smartHQ_system and manually tried to create a new app by pasting the code in but when I click save I get this error...library not found on line 51: #include tomw.smarthqHelpers

Its odd that that line is commented out yet it has a problem with it. Not sure exactly whats going on

tomwpublic commented 1 year ago

Strange issue with HPM. Maybe try repairing instead of upgrading HPM? Then try installing my package again via HPM.

If you'd rather just get up and running, the missing library error points to the bundle that contains it not being installed.

Did you make sure to complete the first step under Manual Installation instructions? https://github.com/tomwpublic/hubitat_SmartHQ#manual-installation-instructions

Also, note that the other files (for example smartHQ_system) should be installed in Drivers Code in Hubitat, not in Apps Code.