ArchiveSW - Display & Data Archive Storage

Stopped, ran updatefiles, altertables from terminal and then restarted.
Looks like some updates did occur.

image

1 Like

Now you should be able to run Update database. You can run Update files again from the web page.

One more little issue.
Just noticed this Error in the update files log.

2018-11-18 09:56:32 Update Files v1.7.13.017
2018-11-18 09:56:32 Getting files for update 1.7.13.026
2018-11-18 09:56:36 Checking for new Script files
2018-11-18 09:56:36 Received new file ==>: script/updatefiles.sh
2018-11-18 09:56:36 Update Files error
Error: Command failed: bash /home/pi/WFArchive/wfarchive/script/updatefiles.sh /home/pi/WFArchive/wfarchive /log/UpdateFiles.log 1.7.13.026
2018-11-18 09:56:36 URL:http://wf.fsoft.com/archivesw/1.7.13.026/updatefiles.sh [4792/4792] -> “updatefiles.sh” [1]
/home/pi/WFArchive/wfarchive/script/updatefiles.sh: line 174: unexpected EOF while looking for matching `"’
/home/pi/WFArchive/wfarchive/script/updatefiles.sh: line 175: syntax error: unexpected end of file

1 Like

I aware of that one. It happens when the script gets updated. I don’t have a fix for it yet and it just needs to run again to get the new files.

Also it does not happen on every update which makes it difficult to catch. Coding is fun.

5 Likes

Chuck, The reset at midnight has been fixed. I will push out that change and a database update to 1.7.13.027 in a few hours.

1 Like

The latest update will require you to run altertables first.

Run updatefiles and you will receive the new altertables.js. After you update the database you can run updatefiles again to download the new files.

Restart the services that show a version under Updated.

Updated, No errors so far.
Looks good. Thanks!

1 Like

Here are the latest changes to the Panel display.
IMG_20181120_104412
All known issues have been handled.

1 Like

I posted new updates that will allow the Panel index page to reload itself when there is an update. For those running kiosk mode this will keep your display updated.

2 Likes

Will this update stop the date/time flashing?
Another thought, maybe turn the date time green after reload so we know it did it.

1 Like

Click on the Date and it will remove the update flag. Be sure you actually restart the services that were update.

One of these:
ds18b20
Added to ArchiveSW
Capture
Inside temperatue

1 Like

Is anyone using the RPi GPIO to drive LEDs?

Since the Panel display is capable of displaying much more data and control, I am going to remove the code that activates the LEDs.

The three input pins will stay and I will look at adding three output pins.

I’m not, But then I don’t have the IO set up at all (yet).
I plan on getting the PI IO bread board this weekend.
Also, If the probe you used for indoor is the one you going to use, can you put up a link to it?

1 Like

The probe is the DS18B20 and is available from hundreds of sources.

I generally buy from Amazon.

1 Like

Did you share the wiring diagram and what pullup resistor you used on your Pi???

I used a 10k as it was available. The resister is connected to 3.3vdc and GPIO4. The probe has three leads. Red goes to 3.3vdc, black to ground the the third (it can be blue, white or yellow) to GPIO4.

You may attach several probes but only one resister.

2 Likes

Are you planing to use more than 1 of these sensors?
They seem to come in packs of 3 or 5.
(amazon guy here too)

I have a sensor in every room, one at each outside corner of the house and two in the attack. These are not connected to the ArchiveSW RPi and are integrated into the home automation system.

I connected one to the ArchiveSW RPi so I can have inside temperature on the Display Panel and others may find this useful. I will connect three so I can write and test the code to handle multiple sensors.

5 Likes

Then 3 for me as well. Thanks!

1 Like