ArchiveSW - Display & Data Archive Storage

It means files were updated. You need to look at the About tab as you may need to run Alter Tables and you may need to reload the Display page.

And after you run Alter Tables you should run Update Files.

1 Like

Hey Gary,
Just curious about the peak sun.
What does it represent? Total sun?
Today mine said 3h 30m 33s.
Also the “red date and time” for me flashes every time it
checks for updates, even when there aren’t any. Auto update is on.

1 Like

A Peak Sun Hour is 1000 watt hour. So your Sky saw 3.5 hours so solar charging power.

The red flashing means an application was update. It can be a process or the Panel display.

1 Like

Thanks! Great Info. Keep up,the great work!

1 Like

Thank you. I want to provide useful information. This is good for those with solar panels at home on a RV.

5 Likes

cheers Ian :slight_smile:

3 Likes

@GaryFunk

I need a little help getting my new sensor (DS18B20) working -

I wired to the GPIO - red lead to PIN#1 (3.3v +), black to PIN#9 (GND), yellow to PIN#7 (GPIO4). I have a 10k resistor between PIN#1 & PIN#7(GPIO4).
image

I ‘added’ Piio under Process manager - and under PiIO I checked ‘active’ all triggers not checked. (saved) I then started the process.
I don’t get any data on the panel display - and while the process is running - it continuously shows restarts increasing? (currently over 114) after refreshing screen.

can you help?

(edit) - also under PiIO screen on the right side - shows:

Sensors
28-0206924563d8

(running on an Rpi 3B V1.2)

1 Like

Are you saying the Panel process is restarting?

Look for Panel.err in the Log tab and tell me what it shows.

No Panel has no errors. However the PiIO has errors the sample below just keeps repeating over and over …

    Piio.err  2071762 Fri Mar 01 2019 11:37:56 GMT-0500 (EST)

Error: The module '/home/pi/archivesw/node_modules/epoll/build/Release/epoll.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 67. This version of Node.js requires
NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
    at Object.Module._extensions..node (module.js:681:18)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at bindings (/home/pi/archivesw/node_modules/bindings/bindings.js:112:48)
    at Object.<anonymous> (/home/pi/archivesw/node_modules/epoll/epoll.js:1:99)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)

also Archive has errors (never had that before… perhaps related?)

TypeError: Cannot read property 'end' of undefined
    at tcpExit (/home/pi/archivesw/archive.js:1252:12)
    at onExit (/home/pi/archivesw/archive.js:1232:2)
    at process.<anonymous> (/home/pi/archivesw/archive.js:1211:5)
    at emitNone (events.js:111:20)
    at process.emit (events.js:208:7)
    at Signal.wrap.onsignal (internal/process.js:208:44)

This is the process that keeps restarting …
image

1 Like

You can disable PIIO if you are not using it the GPIO pins. The temperature probe uses the 1Wire pin which is different. We can worry about GPIO later.

Is the temperature showing up on the display?

Oh, ok I thought I needed PIIO that’s why I enabled it.

no nothing displayed
image

1 Like

Restart the Server process and wait 30 seconds.

2019-03-01 12:14:55 Caught interrupt signal: 3
2019-03-01 12:14:55 onExit: 3
2019-03-01 12:14:55 Closed TIMERS
2019-03-01 12:14:55 TCP server close
2019-03-01 12:14:55 Closed TCP Server
2019-03-01 12:14:55 Closed HTTP Server
====
2019-03-01 12:15:01 Starting Server v1.7.15.034
2019-03-01 12:15:02 Listening to HTTP on: localhost:8080
2019-03-01 12:15:02 Listening to TCP on: localhost:9090
2019-03-01 12:15:05 TCP server connection: 58254
2019-03-01 12:15:05 TCP server connection: 58256
2019-03-01 12:15:05 TCP server connection: 58258
2019-03-01 12:16:17 Wrote config.json

ok - nothing has changed that I am aware.

1 Like

I sent you a PM. Please let me know when you complete and then restart Piio.

found a little sun that hides some text on your display :sunny:

25

1 Like

Yes, that is going to happen from time to time.

@GaryFunk

Thanks for your help yesterday all is working well. Setup uploads to PWS this morning, seems to be updating data.
ArchiveSW_iphone_panel

1 Like

Which version of the Raspberry Pi are you using?
W?

What devices do you have configured for Wan0 and Wan1?

There is no “rules” file in ArchiveSW.

I started to attempt an install and get the following error when running sudo npm cache clean -f

sudo: npm: command not found

1 Like

if that was that during the process to update the RPi just ignore it and move on. I’ll add a check and correct it.

EDIT:
I just uploaded a new script that will catch that issue and move on.