HousePanel Dashboard App for Hubitat

Version 1.990 posted that fixes the hubpush feature. I just had a file in the wrong folder.

Sorry for the delay. I think the install script had issues. Try the new version that I just posted.

Still not looking good

pi@PiHoleO:~ $ sudo systemctl restart housepanel-push
Failed to restart housepanel-push.service: Unit housepanel-push.service not found.
pi@PiHoleO:~ $

Also is not asking what branch to install, which it was before.
I will try some more tomorrow when i have more time to play with it. The issue may well be something at my end.

Thanks!

I took out the branch because hubpush is integrated now into the master.

Not sure what is happening here.

Will look further and get back to you.

Looks like your systemctl calls are not working. Also the install script should be creating the housepanel-push.service file. Please check if it is there.

A workaround is to just manually make a .sevice file. It should follow usual Node protocols.
Turns out a sample is in the repo. Here it is:

[Unit]
Description=housepanel-push NodeJS Application
After=network-online.target

[Service]
Restart=on-failure
WorkingDirectory=/var/www/html/smartthings/housepanel-push/
ExecStart=node /var/www/html/smartthings/housepanel-push/housepanel-push.js

[Install]
WantedBy=multi-user.target

Just change the folder from smartthings to the actual folder name.

It also looks like your Apache didn’t restart for similar reasons. I don’t remember how to set up the auto start framework — maybe other can help you.

Doc file updated on http://www.housepanel.net

Thanks for the reply,
I checked and housepanel-push.service is present in /var/www/html/housepanel/housepanel-push
( if i remember correctly it was previously showing up in /var/www/html/housepanel before your changes)
Capture

Its content is:
[Unit]
Description=housepanel-push NodeJS Application


After=network-online.target \n\n

[Service] \n
Restart=on-failure\n
WorkingDirectory=/var/www/html/housepanel/
ExecStart=node /var/www/html/housepanel/housepanel-push/housepanel-push.js

[Install]
WantedBy=multi-user.target

I deleted the housepanel directory before my last install, after the install and moving over hmoptions etc it looks like this:

I will try with a spare PI over the weekend with a fresh install of stretch.
It is still working fine other than not having the new feature so at least i haven't broken it (yet) :slight_smile:

Thanks

Sorry about all this. I’m still learning about Node and how it gets installed. Still must be missing something that is ore setup on my pi.

I tried it on a fresh install of Stretch.

Apache issue looks fixed, but some different node errors.
How do you recommend installing npm (node)? i fear what i did last time is not correct. Or is the npm install supposed to be part of the install script

Capture

Yea - I didn’t include a Node.js and a npm install in the script. Will add that. In the mean time do this first and the. Re run the script.

sudo apt-get install nodejs npm node-semver

Still no luck

Capture

But the file is there:
Capture2

Not sure is this is of any help:

Thanks

Really weird. I’m still remote this weekend and have limited debugging capability. Will look at it when I get home. Try getting any sample Node and npm setup working in the meantime.

I'm a newbie to housepanel, I'm running housepanel on my unraid server in an Apache docker, I have been unable to get the new push feature working..

Just an idea, can someone just make an image of an SD card with a completely working version of housepanel that can be placed into a raspberry pi and then it just works??

I don't have a raspberry pi, but if a working image of an SD card was made available, it would certainly open housepanel up to less knowledgeable people..I would even be willing t pay for that SD card image..and a simple GUI with the ability to just click to get updates would be great..

Just tell me which raspberry pi to purchase, download the SD card image, pop the card in and that's it.. that would make things so much easier..

What a great idea. Let me consider it.

Quick question, I'm a little impatient and want to get housepanel with all it's new features running asap, I'm going to order a raspberry pi and Try and set it up myself, will the command https://raw.githubusercontent.com/kewashi/HousePanel/master/install.sh
bash ./install.sh

Also setup the push service automatically?

Or do additional steps need to be taken? Thank you so much for all your help.., I looked at housepanel.net install instructions and there was no mention of the push service..

I just updated to the latest. As usual took me a little poking doing it manually but seems to be working well. Updates are lightning quick. Thanks as always @kewashi

Can you post what you did to get it working manually? I can't get the automated install to work.

[RELEASE]HousePanel V1.991 with Modern skin

By popular demand I have finally implemented a skin that gives the typical modern look of some of the other common dashboards out there. This skin is called "skin-modern" and is this release. A screen shot of what it looks like is here.

image https://discourse-cdn-sjc1.com/smartthings/uploads/default/optimized/3X/7/0/706146a2b700766d4004fba875d36d3ce694af12_2_690x269.png

I am resigned to the fact that the auto install script doesn’t work for setting up the Node.js server middleman. Start with setting up Node and NPM using any online how to reference. Then get housepanel-push working manually. Then make a .service file. Then install the service using sudo systemctl start. Each of these steps will require some patience and online research. These are the steps that the install script attempts to do automatically but something must be missing. Fixing this is a high priority for me so please be patient. If anyone has experience with writing bash scripts I would be grateful for some advice or help. I personally have very little so I am bumbling my way through making this install script work and robust to errors. I will get there over time. Until the. A manual install is your best bet. By the way, this only impacts the new hub push feature. The rest seems to work fine with the install script.

Also, to disable the hubpush, enter zero for the webSocket port on the HousePanel auth page. Otherwise you will get repeated JavaScript errors during runtime.

Fairly major update to the doc page is also coming later today.

I'm going to pop on back when it's settled down a bit...