Backup error emonpi

Hallo dear, I was trying to backup my configuration before update the SD, but seems I have an old 8.5 version and there is not backup module, so I logged in locally made “update emonpi” , and below you can find the report, seems there are some read only errors… please notice that as soon I done the upgrade all the 3 emonth I stopped working, while the emontx still working… please help me, I am not a Linux expert…

Filesystem is unlocked - Write access
type ' rpi-ro ' to lock
Starting emonPi Update >

Tue Feb 20 18:08:01 UTC 2018

Update emonPi git:
From https://github.com/openenergymonitor/emonpi
   f8a8499..b8e406d  master     -> origin/master
 * [new branch]      continuous-sampling -> origin/continuous-sampling
 * [new branch]      cydynni    -> origin/cydynni
 * [new branch]      openhab2   -> origin/openhab2
 * [new tag]         emonSD-17Jun2015 -> emonSD-17Jun2015
From https://github.com/openenergymonitor/emonpi
 * [new tag]         2.5.0      -> 2.5.0
 * [new tag]         2.7.0      -> 2.7.0
 * [new tag]         2.8.0      -> 2.8.0
 * [new tag]         2.8.1      -> 2.8.1
 * [new tag]         2.8.2      -> 2.8.2
 * [new tag]         2.8.3      -> 2.8.3
 * [new tag]         2.8.4      -> 2.8.4
 * [new tag]         2.9.0      -> 2.9.0
 * [new tag]         emonSD-22Dec2015 -> emonSD-22Dec2015
Updating 77ba6bf..b8e406d
Fast-forward
 .gitignore                                         |   28 +
 .gitmodules                                        |   15 +
 .travis.yml                                        |   34 +
 Atmega328/Readme.md                                |    3 +
 ...nPi_RFM69CW_RF12Demo_ContinuousSampling.cpp.hex | 1258 --
 .../compiled/readme.md                             |    7 -
 .../emonPi_Serial_LCD.ino                          |  117 -
 .../Makefile                                       |   72 +
 .../compiled/CHANGE LOG.md                         |   26 +-
 .../compiled/emonPi_V2.0.hex                       | 1194 ++
 .../compiled/emonPi_V2.0_bootloader.hex            | 1025 +
 .../compiled/emonPi_V2.2.hex                       | 1213 ++
 .../compiled/emonPi_V2.3.hex                       | 1213 ++
 .../compiled/emonPi_V2.4.hex                       | 1220 ++
 .../compiled/emonPi_V2.5.hex                       | 1224 ++
 .../compiled/emonPi_latest.hex                     | 2416 +--
 .../compiled/emonPi_latest_bootloader.hex          | 2281 +-
 .../emonPi_RF.ino                                  |   32 +-
 .../emonPi_RFM69CW_RF12Demo_DiscreteSampling.ino   |   83 +-
 .../emonPi_Serial_LCD.ino                          |   88 +-
 .../emonPi_Startup.ino                             |    7 +-
 .../emonPi_temperature.ino                         |    2 +-
 Atmega328/firmware/Makefile                        |   72 +
 Atmega328/firmware/compiled/CHANGE LOG.md          |   87 +
 Atmega328/firmware/compiled/emonPi_V1.1.hex        | 1165 +
 .../firmware/compiled/emonPi_V1.1_Bootloader.hex   | 1025 +
 Atmega328/firmware/compiled/emonPi_V1.2.1.hex      | 1179 +
 Atmega328/firmware/compiled/emonPi_V1.2.hex        | 1179 +
 .../firmware/compiled/emonPi_V1.2_Bootloader.hex   | 1025 +
 .../compiled/emonPi_V1.3.hex}                      |   10 +-
 .../firmware/compiled/emonPi_V1.3_bootloader.hex   | 1025 +
 .../firmware/compiled/emonPi_V1.4_bootloader.hex   | 1025 +
 Atmega328/firmware/compiled/emonPi_V1.5.hex        | 1192 ++
 .../firmware/compiled/emonPi_V1.5_bootloader.hex   | 1025 +
 Atmega328/firmware/compiled/emonPi_V1.6.hex        | 1197 ++
 Atmega328/firmware/compiled/emonPi_V1.7.hex        | 1196 ++
 Atmega328/firmware/compiled/emonPi_V1.8.hex        | 1196 ++
 .../firmware/compiled/emonPi_V1_Bootloader.hex     | 1025 +
 Atmega328/firmware/compiled/emonPi_V2.0.hex        | 1194 ++
 .../firmware/compiled/emonPi_V2.0_bootloader.hex   | 1025 +
 Atmega328/firmware/compiled/emonPi_V2.2.hex        | 1213 ++
 Atmega328/firmware/compiled/emonPi_V2.3.hex        | 1213 ++
 Atmega328/firmware/compiled/emonPi_V2.4.hex        | 1220 ++
 Atmega328/firmware/compiled/emonPi_V2.5.hex        | 1224 ++
 Atmega328/firmware/compiled/emonPi_latest.hex      | 1224 ++
 .../firmware/compiled/emonPi_latest_bootloader.hex | 1258 ++
 .../firmware.ino}                                  |  168 +-
 .../interrupt.ino}                                 |    0
 Atmega328/firmware/lcd_serial.ino                  |  124 +
 .../emonPi_RF.ino => firmware/rf.ino}              |   44 +-
 .../emonPi_Startup.ino => firmware/startup.ino}    |    9 +-
 .../temperature.ino}                               |    2 +-
 Python_test_scripts/Pi_stats_emoncms_post.php      |   29 -
 Python_test_scripts/pushbutton_test.py             |   37 -
 README.md                                          |   39 +-
 UDPBroadcast/broadcast.php                         |    8 +
 UDPBroadcast/readme.php                            |    5 +
 {shutdownpi => archive/shutdownpi}/Readme.md       |    0
 {shutdownpi => archive/shutdownpi}/install         |    0
 {shutdownpi => archive/shutdownpi}/shutdownpi      |    0
 {shutdownpi => archive/shutdownpi}/shutdownpi.sh   |    0
 bash-rw-indicator                                  |   18 +
 cmdline.txt                                        |    1 +
 crontab                                            |   26 +
 dhclient-script                                    |    2 +
 dhclient-script_minibian                           |   10 +-
 dhclient-script_raspbian_jessielite                |  416 +
 docs/SD-card-build.md                              |  589 +
 docs/emonPi_System_Diagram.png                     |  Bin 0 -> 85390 bytes
 emoncms9install => docs/old/old.emoncms9install.sh |    3 +-
 emoncmsinstall => docs/old/old.emoncmsinstall      |   13 -
 imagebuild.md => docs/old/old.imagebuild.md        |    0
 install => docs/old/old.install.sh                 |   39 +-
 software.md => docs/software.md                    |    2 +-
 docs/userguide.md                                  |    3 +
 emonPi_System_Diagram.png                          |  Bin 73371 -> 0 bytes
 emoncms-filesystem                                 |    1 +
 emoncms-rebootbutton                               |    1 +
 emoncms-setup/emoncms-setup-sudoers                |    1 +
 emoncms-setup/hello.php                            |  252 +
 emoncms-setup/setup_controller.php                 |   45 +
 emoncms-setup/setup_model.php                      |   47 +
 emoncms-setup/setup_schema.php                     |    6 +
 emoncmsdbupdate.php                                |   14 +
 emoncmsupdate                                      |  307 +-
 emonhub-sudoers                                    |    1 +
 emonhubupdate                                      |    9 +
 emonpiupdate                                       |   44 +-
 factoryreset                                       |  167 +-
 firmware/compile.sh                                |   12 +
 firmware/compiled/archive/emonPi_V1.1.hex          | 1165 +
 .../compiled/archive/emonPi_V1.1_Bootloader.hex    | 1025 +
 firmware/compiled/archive/emonPi_V1.2.1.hex        | 1179 +
 firmware/compiled/archive/emonPi_V1.2.hex          | 1179 +
 .../compiled/archive/emonPi_V1.2_Bootloader.hex    | 1025 +
 firmware/compiled/archive/emonPi_V1.3.hex          | 1188 ++
 .../compiled/archive/emonPi_V1.3_bootloader.hex    | 1025 +
 .../compiled/archive/emonPi_V1.4_bootloader.hex    | 1025 +
 firmware/compiled/archive/emonPi_V1.5.hex          | 1192 ++
 .../compiled/archive/emonPi_V1.5_bootloader.hex    | 1025 +
 firmware/compiled/archive/emonPi_V1.6.hex          | 1197 ++
 firmware/compiled/archive/emonPi_V1.7.hex          | 1196 ++
 firmware/compiled/archive/emonPi_V1.8.hex          | 1196 ++
 firmware/compiled/archive/emonPi_V1_Bootloader.hex | 1025 +
 firmware/compiled/archive/emonPi_V2.0.hex          | 1194 ++
 .../compiled/archive/emonPi_V2.0_bootloader.hex    | 1025 +
 firmware/compiled/archive/emonPi_V2.2.hex          | 1213 ++
 firmware/compiled/archive/emonPi_V2.3.hex          | 1213 ++
 firmware/compiled/archive/emonPi_V2.4.hex          | 1220 ++
 firmware/compiled/archive/emonPi_V2.5.hex          | 1224 ++
 firmware/compiled/archive/emonPi_V2.6.hex          | 1214 ++
 firmware/compiled/archive/emonPi_V2.7.hex          | 1195 ++
 firmware/compiled/archive/emonPi_V2.8.1.hex        | 1102 +
 firmware/compiled/archive/emonPi_V2.8.2.hex        | 1120 +
 firmware/compiled/archive/emonPi_V2.8.4.hex        | 1123 +
 firmware/compiled/archive/emonPi_V2.8.hex          | 1194 ++
 firmware/compiled/archive/emonPi_V2.9.0.hex        | 1120 +
 firmware/compiled/latest.hex                       | 1120 +
 firmware/compiled/latest_bootloader.hex            | 1248 ++
 firmware/compiled/readme.md                        |   21 +
 firmware/compiled/reset                            |   17 +
 Atmega328/update~ => firmware/compiled/update      |    2 +-
 firmware/platformio.ini                            |   60 +
 firmware/platformio.md                             |   73 +
 firmware/readme.md                                 |  181 +
 firmware/src/interrupt.ino                         |    8 +
 firmware/src/lcd_serial.ino                        |  136 +
 firmware/src/rf.ino                                |  165 +
 firmware/src/src.ino                               |  354 +
 firmware/src/startup.ino                           |   58 +
 firmware/src/temperature.ino                       |   29 +
 firmware/test_sketches/Blink_LED/Blink_LED.cpp.hex |   70 +
 firmware/test_sketches/Blink_LED/Blink_LED.ino     |   24 +
 .../DS18B20_temperature_test.cpp.hex               |  566 +
 .../DS18B20_temperature_test.ino                   |  141 +
 .../Pi_shutdown_LCD/Pi_shutdown_LCD.cpp.hex        |  388 +
 .../Pi_shutdown_LCD/Pi_shutdown_LCD.ino            |  118 +
 .../RF12demo_RFM68CW_Test.cpp.hex                  |  588 +
 .../RF12demo_RFM68CW_Test.ino                      |  656 +
 .../RF12demo_RFM68CW_Test/dataflash.h              |  358 +
 .../emonPi_continuous_sampling_kwhd.ino            |  613 +
 .../emonPi_discrete_sampling_test.cpp.hex          |  435 +
 .../emonPi_discrete_sampling_test.ino              |   67 +
 .../encode_struct_packet_test2.ino                 |   35 +
 firmware/test_sketches/i2c_scan/.gitignore         |    2 +
 firmware/test_sketches/i2c_scan/.travis.yml        |   65 +
 firmware/test_sketches/i2c_scan/lib/readme.txt     |   36 +
 firmware/test_sketches/i2c_scan/platformio.ini     |   22 +
 firmware/test_sketches/i2c_scan/src/src.ino        |   66 +
 .../shutdown_button_test.cpp.hex                   |  214 +
 .../shutdown_button_test/shutdown_button_test.ino  |   81 +
 firmware/upload.sh                                 |   21 +
 firstbootupdate                                    |   22 +-
 fstab                                              |   19 +-
 hardware/emonpi/changelog.md                       |   19 +
 hardware/emonpi/emonpi_V1_5/board.png              |  Bin 0 -> 146397 bytes
 .../emonpi_V1_5/emonP_V1.5_brd_track_blacks.png    |  Bin 0 -> 154458 bytes
 .../emonpi/emonpi_V1_5/emonP_V1.5_brd_values.png   |  Bin 0 -> 89469 bytes
 .../emonpi_V1_5/emonP_V1.5_brd_values_white.png    |  Bin 0 -> 59909 bytes
 hardware/emonpi/emonpi_V1_5/emonP_V1.5_sch.png     |  Bin 0 -> 261325 bytes
 hardware/emonpi/emonpi_V1_5/emonPi_V1.5.brd        | 7978 +++++++
 hardware/emonpi/emonpi_V1_5/emonPi_V1.5.sch        |22567 ++++++++++++++++++++
 .../emonpi/emonpi_V1_5/emonPi_V1.5_brd_black.pdf   |  Bin 0 -> 98865 bytes
 .../emonpi/emonpi_V1_5/emonPi_V1.5_brd_values.pdf  |  Bin 0 -> 99206 bytes
 hardware/emonpi/emonpi_V1_5/emonPi_V1.5_sch.pdf    |  Bin 0 -> 99643 bytes
 .../emonpi/emonpi_V1_5/emonPi_case_CAD_drawing.png |  Bin 0 -> 158038 bytes
 .../emonpi/emonpi_V1_5/emonPi_case_drawing.PDF     |  Bin 0 -> 636219 bytes
 .../emonpi/emonpi_V1_5/emonpi_embodiedenergy.ods   |  Bin 0 -> 21363 bytes
 hardware/emonpi/emonpi_V1_5/photo.png              |  Bin 0 -> 726948 bytes
 hardware/emonpi/emonpi_V1_5/readme.md              |   20 +
 hardware/emonpi/emonpi_V1_5/schematic.png          |  Bin 0 -> 258423 bytes
 hardware/emonpi/emonpi_V1_6/emonPi_V1.6.brd        | 7974 +++++++
 hardware/emonpi/emonpi_V1_6/emonPi_V1.6.sch        |22553 +++++++++++++++++++
 hardware/emonpi/emonpi_V1_6/emonPi_V1.6_brd.png    |  Bin 0 -> 245369 bytes
 hardware/emonpi/emonpi_V1_6/emonPi_V1.6_sch.png    |  Bin 0 -> 122080 bytes
 hardware/emonpi/emonpi_V1_6/photo.png              |  Bin 0 -> 1419027 bytes
 hardware/emonpi/emonpi_V1_6/readme.md              |   25 +
 hardware/emonpi/emonpi_dev/emonpi.brd              | 7974 +++++++
 hardware/emonpi/emonpi_dev/emonpi.sch              |22553 +++++++++++++++++++
 .../emonpi2c_V1.1/Eagle_7.3_gerber_export.cam.txt  |  162 +
 hardware/emonpi2c/emonpi2c_V1.1/emonPi2C_V1.1.brd  | 3544 +++
 hardware/emonpi2c/emonpi2c_V1.1/emonPi2C_V1.1.sch  |10256 +++++++++
 .../emonpi2c_V1.1/emonPi2C_V1.1_Gerbers.zip        |  Bin 0 -> 40690 bytes
 hardware/emonpi2c/emonpi2c_V1.2/emonPi2C_V1.2.brd  | 3562 +++
 hardware/emonpi2c/emonpi2c_V1.2/emonPi2C_V1.2.sch  |10366 +++++++++
 .../emonpi2c/emonpi2c_V1.2/emonPi2C_V1.2_BOM.ods   |  Bin 0 -> 26558 bytes
 .../emonPi2C_V1.2_GERBERS/emonPi2C_V1.2.GBL        | 3087 +++
 .../emonPi2C_V1.2_GERBERS/emonPi2C_V1.2.GBO        |  475 +
 .../emonPi2C_V1.2_GERBERS/emonPi2C_V1.2.GBS        |   93 +
 .../emonPi2C_V1.2_GERBERS/emonPi2C_V1.2.GTL        | 2742 +++
 .../emonPi2C_V1.2_GERBERS/emonPi2C_V1.2.GTO        |  970 +
 .../emonPi2C_V1.2_GERBERS/emonPi2C_V1.2.GTP        |   51 +
 .../emonPi2C_V1.2_GERBERS/emonPi2C_V1.2.GTS        |  116 +
 .../emonPi2C_V1.2_GERBERS/emonPi2C_V1.2.TXT        |  100 +
 .../emonPi2C_V1.2_GERBERS/emonPi2C_V1.2.dri        |   40 +
 .../emonPi2C_V1.2_GERBERS/emonPi2C_V1.2.gpi        |   36 +
 hardware/emonpi2c/emonpi2c_dev/emonpi2c.brd        | 3562 +++
 hardware/emonpi2c/emonpi2c_dev/emonpi2c.sch        |10366 +++++++++
 lcd/README.md                                      |   15 +
 lcd/datasheet/lcd_i2c_datasheet.pdf                |  Bin 0 -> 79787 bytes
 lcd/datasheet/lcd_schematic.pdf                    |  Bin 0 -> 40033 bytes
 lcd/emonPiLCD                                      |   14 +-
 lcd/emonPiLCD.py                                   |  683 +-
 lcd/emonPiLCD_detect.sh                            |   29 +
 lcd/emonPiLCD_update.py                            |   34 +
 lcd/gsmhuaweistatus.py                             |  146 +
 lcd/install                                        |   67 +-
 lcd/lcd_test.py                                    |   10 +-
 lcd/lcddriver.py                                   |  131 +-
 logrotate                                          |    4 +
 logrotate.conf                                     |   31 +
 md5sum.py                                          |   24 +
 motd                                               |   22 +
 ntp_update.sh                                      |   11 +
 raspbian_slimdown.sh                               |   43 -
 rc.local                                           |    8 +-
 rc.local_jessieminimal                             |   46 +
 rfm69piupdate.sh                                   |   33 +
 rpi-ro                                             |    4 +
 rpi-rw                                             |    4 +
 service-runner                                     |   33 +
 service-runner-update.sh                           |  143 +
 sudo_crontab                                       |   32 +
 wifi => sudoers                                    |    2 +-
 update                                             |  111 +-
 userguide.md                                       |    4 -
 wifiAP/hostapd.conf                                |   16 +
 wifiAP/networklog.sh                               |    5 +
 wifiAP/readme.md                                   |  317 +
 wifiAP/startAP.sh                                  |   27 +
 wifiAP/stopAP.sh                                   |    5 +
 wifiAP/wifiAP.sh                                   |  110 +
 wifiAP/wpa_supplicant_check.conf                   |    2 +
 233 files changed, 218048 insertions(+), 4433 deletions(-)
 create mode 100644 .gitignore
 create mode 100644 .gitmodules
 create mode 100644 .travis.yml
 create mode 100644 Atmega328/Readme.md
 delete mode 100644 Atmega328/emonPi_RFM69CW_RF12Demo_ContinuousSampling/compiled/emonPi_RFM69CW_RF12Demo_ContinuousSampling.cpp.hex
 delete mode 100644 Atmega328/emonPi_RFM69CW_RF12Demo_ContinuousSampling/compiled/readme.md
 delete mode 100644 Atmega328/emonPi_RFM69CW_RF12Demo_ContinuousSampling/emonPi_Serial_LCD.ino
 create mode 100644 Atmega328/emonPi_RFM69CW_RF12Demo_DiscreteSampling/Makefile
 mode change 100644 => 100755 Atmega328/emonPi_RFM69CW_RF12Demo_DiscreteSampling/compiled/CHANGE LOG.md
 mode change 100644 => 100755 Atmega328/emonPi_RFM69CW_RF12Demo_DiscreteSampling/compiled/emonPi_V1.1.hex
 mode change 100644 => 100755 Atmega328/emonPi_RFM69CW_RF12Demo_DiscreteSampling/compiled/emonPi_V1.1_Bootloader.hex
 mode change 100644 => 100755 Atmega328/emonPi_RFM69CW_RF12Demo_DiscreteSampling/compiled/emonPi_V1.2.1.hex
 mode change 100644 => 100755 Atmega328/emonPi_RFM69CW_RF12Demo_DiscreteSampling/compiled/emonPi_V1.2.hex
 mode change 100644 => 100755 Atmega328/emonPi_RFM69CW_RF12Demo_DiscreteSampling/compiled/emonPi_V1.2_Bootloader.hex
 mode change 100644 => 100755 Atmega328/emonPi_RFM69CW_RF12Demo_DiscreteSampling/compiled/emonPi_V1.3.hex
 mode change 100644 => 100755 Atmega328/emonPi_RFM69CW_RF12Demo_DiscreteSampling/compiled/emonPi_V1.3_bootloader.hex
 mode change 100644 => 100755 Atmega328/emonPi_RFM69CW_RF12Demo_DiscreteSampling/compiled/emonPi_V1.4_bootloader.hex
 mode change 100644 => 100755 Atmega328/emonPi_RFM69CW_RF12Demo_DiscreteSampling/compiled/emonPi_V1.5.hex
 mode change 100644 => 100755 Atmega328/emonPi_RFM69CW_RF12Demo_DiscreteSampling/compiled/emonPi_V1.5_bootloader.hex
 mode change 100644 => 100755 Atmega328/emonPi_RFM69CW_RF12Demo_DiscreteSampling/compiled/emonPi_V1.6.hex
 mode change 100644 => 100755 Atmega328/emonPi_RFM69CW_RF12Demo_DiscreteSampling/compiled/emonPi_V1.7.hex
 mode change 100644 => 100755 Atmega328/emonPi_RFM69CW_RF12Demo_DiscreteSampling/compiled/emonPi_V1.8.hex
 mode change 100644 => 100755 Atmega328/emonPi_RFM69CW_RF12Demo_DiscreteSampling/compiled/emonPi_V1_Bootloader.hex
 create mode 100644 Atmega328/emonPi_RFM69CW_RF12Demo_DiscreteSampling/compiled/emonPi_V2.0.hex
 create mode 100644 Atmega328/emonPi_RFM69CW_RF12Demo_DiscreteSampling/compiled/emonPi_V2.0_bootloader.hex
 create mode 100644 Atmega328/emonPi_RFM69CW_RF12Demo_DiscreteSampling/compiled/emonPi_V2.2.hex
 create mode 100644 Atmega328/emonPi_RFM69CW_RF12Demo_DiscreteSampling/compiled/emonPi_V2.3.hex
 create mode 100644 Atmega328/emonPi_RFM69CW_RF12Demo_DiscreteSampling/compiled/emonPi_V2.4.hex
 create mode 100644 Atmega328/emonPi_RFM69CW_RF12Demo_DiscreteSampling/compiled/emonPi_V2.5.hex
 mode change 100644 => 100755 Atmega328/emonPi_RFM69CW_RF12Demo_DiscreteSampling/emonPi_Interrupt_Pulse.ino
 mode change 100644 => 100755 Atmega328/emonPi_RFM69CW_RF12Demo_DiscreteSampling/emonPi_RF.ino
 create mode 100644 Atmega328/firmware/Makefile
 create mode 100755 Atmega328/firmware/compiled/CHANGE LOG.md
 create mode 100755 Atmega328/firmware/compiled/emonPi_V1.1.hex
 create mode 100755 Atmega328/firmware/compiled/emonPi_V1.1_Bootloader.hex
 create mode 100755 Atmega328/firmware/compiled/emonPi_V1.2.1.hex
 create mode 100755 Atmega328/firmware/compiled/emonPi_V1.2.hex
 create mode 100755 Atmega328/firmware/compiled/emonPi_V1.2_Bootloader.hex
 rename Atmega328/{emonPi_RFM69CW_RF12Demo_DiscreteSampling/compiled/emonPi_V1.4.hex => firmware/compiled/emonPi_V1.3.hex} (97%)
 mode change 100644 => 100755
 create mode 100755 Atmega328/firmware/compiled/emonPi_V1.3_bootloader.hex
 create mode 100755 Atmega328/firmware/compiled/emonPi_V1.4_bootloader.hex
 create mode 100755 Atmega328/firmware/compiled/emonPi_V1.5.hex
 create mode 100755 Atmega328/firmware/compiled/emonPi_V1.5_bootloader.hex
 create mode 100755 Atmega328/firmware/compiled/emonPi_V1.6.hex
 create mode 100755 Atmega328/firmware/compiled/emonPi_V1.7.hex
 create mode 100755 Atmega328/firmware/compiled/emonPi_V1.8.hex
 create mode 100755 Atmega328/firmware/compiled/emonPi_V1_Bootloader.hex
 create mode 100644 Atmega328/firmware/compiled/emonPi_V2.0.hex
 create mode 100644 Atmega328/firmware/compiled/emonPi_V2.0_bootloader.hex
 create mode 100644 Atmega328/firmware/compiled/emonPi_V2.2.hex
 create mode 100644 Atmega328/firmware/compiled/emonPi_V2.3.hex
 create mode 100644 Atmega328/firmware/compiled/emonPi_V2.4.hex
 create mode 100644 Atmega328/firmware/compiled/emonPi_V2.5.hex
 create mode 100644 Atmega328/firmware/compiled/emonPi_latest.hex
 create mode 100644 Atmega328/firmware/compiled/emonPi_latest_bootloader.hex
 rename Atmega328/{emonPi_RFM69CW_RF12Demo_ContinuousSampling/emonPi_RFM69CW_RF12Demo_ContinuousSampling.ino => firmware/firmware.ino} (70%)
 rename Atmega328/{emonPi_RFM69CW_RF12Demo_ContinuousSampling/emonPi_Interrupt_Pulse.ino => firmware/interrupt.ino} (100%)
 mode change 100644 => 100755
 create mode 100644 Atmega328/firmware/lcd_serial.ino
 rename Atmega328/{emonPi_RFM69CW_RF12Demo_ContinuousSampling/emonPi_RF.ino => firmware/rf.ino} (79%)
 mode change 100644 => 100755
 rename Atmega328/{emonPi_RFM69CW_RF12Demo_ContinuousSampling/emonPi_Startup.ino => firmware/startup.ino} (90%)
 rename Atmega328/{emonPi_RFM69CW_RF12Demo_ContinuousSampling/emonPi_temperature.ino => firmware/temperature.ino} (93%)
 mode change 100644 => 100755 Atmega328/test_sketches/old/Blink_LED/Blink_LED.cpp.hex
 mode change 100644 => 100755 Atmega328/test_sketches/old/Blink_LED/Blink_LED.ino
 mode change 100644 => 100755 Atmega328/test_sketches/old/DS18B20_temperature_test/DS18B20_temperature_test.cpp.hex
 mode change 100644 => 100755 Atmega328/test_sketches/old/DS18B20_temperature_test/DS18B20_temperature_test.ino
 mode change 100644 => 100755 Atmega328/test_sketches/old/Pi_shutdown_LCD/Pi_shutdown_LCD.cpp.hex
 mode change 100644 => 100755 Atmega328/test_sketches/old/Pi_shutdown_LCD/Pi_shutdown_LCD.ino
 mode change 100644 => 100755 Atmega328/test_sketches/old/RF12demo_RFM68CW_Test/RF12demo_RFM68CW_Test.cpp.hex
 mode change 100644 => 100755 Atmega328/test_sketches/old/RF12demo_RFM68CW_Test/RF12demo_RFM68CW_Test.ino
 mode change 100644 => 100755 Atmega328/test_sketches/old/RF12demo_RFM68CW_Test/dataflash.h
 mode change 100644 => 100755 Atmega328/test_sketches/old/emonPi_continuous_sampling_kwhd/emonPi_continuous_sampling_kwhd.ino
 mode change 100644 => 100755 Atmega328/test_sketches/old/emonPi_discrete_sampling_test/emonPi_discrete_sampling_test.cpp.hex
 mode change 100644 => 100755 Atmega328/test_sketches/old/emonPi_discrete_sampling_test/emonPi_discrete_sampling_test.ino
 mode change 100644 => 100755 Atmega328/test_sketches/old/encode_struct_packet_test2/encode_struct_packet_test2.ino
 mode change 100644 => 100755 Atmega328/test_sketches/old/shutdown_button_test/shutdown_button_test.cpp.hex
 mode change 100644 => 100755 Atmega328/test_sketches/old/shutdown_button_test/shutdown_button_test.ino
 delete mode 100644 Python_test_scripts/Pi_stats_emoncms_post.php
 delete mode 100644 Python_test_scripts/pushbutton_test.py
 mode change 100644 => 100755 README.md
 create mode 100644 UDPBroadcast/broadcast.php
 create mode 100644 UDPBroadcast/readme.php
 rename {shutdownpi => archive/shutdownpi}/Readme.md (100%)
 mode change 100644 => 100755
 rename {shutdownpi => archive/shutdownpi}/install (100%)
 rename {shutdownpi => archive/shutdownpi}/shutdownpi (100%)
 rename {shutdownpi => archive/shutdownpi}/shutdownpi.sh (100%)
 create mode 100644 bash-rw-indicator
 create mode 100755 cmdline.txt
 create mode 100755 crontab
 mode change 100644 => 100755 dhclient-script
 mode change 100644 => 100755 dhclient-script_minibian
 create mode 100755 dhclient-script_raspbian_jessielite
 create mode 100644 docs/SD-card-build.md
 create mode 100644 docs/emonPi_System_Diagram.png
 rename emoncms9install => docs/old/old.emoncms9install.sh (98%)
 mode change 100644 => 100755
 rename emoncmsinstall => docs/old/old.emoncmsinstall (90%)
 rename imagebuild.md => docs/old/old.imagebuild.md (100%)
 mode change 100644 => 100755
 rename install => docs/old/old.install.sh (72%)
 rename software.md => docs/software.md (86%)
 mode change 100644 => 100755
 create mode 100755 docs/userguide.md
 delete mode 100644 emonPi_System_Diagram.png
 create mode 100644 emoncms-filesystem
 create mode 100644 emoncms-rebootbutton
 create mode 100644 emoncms-setup/emoncms-setup-sudoers
 create mode 100644 emoncms-setup/hello.php
 create mode 100644 emoncms-setup/setup_controller.php
 create mode 100644 emoncms-setup/setup_model.php
 create mode 100644 emoncms-setup/setup_schema.php
 create mode 100755 emoncmsdbupdate.php
 create mode 100644 emonhub-sudoers
 mode change 100644 => 100755 emonhub.conf_emonTHaddition
 mode change 100644 => 100755 emonhub.conf_emonTxaddition
 create mode 100755 emonhubupdate
 create mode 100755 firmware/compile.sh
 create mode 100644 firmware/compiled/archive/emonPi_V1.1.hex
 create mode 100644 firmware/compiled/archive/emonPi_V1.1_Bootloader.hex
 create mode 100644 firmware/compiled/archive/emonPi_V1.2.1.hex
 create mode 100644 firmware/compiled/archive/emonPi_V1.2.hex
 create mode 100644 firmware/compiled/archive/emonPi_V1.2_Bootloader.hex
 create mode 100644 firmware/compiled/archive/emonPi_V1.3.hex
 create mode 100644 firmware/compiled/archive/emonPi_V1.3_bootloader.hex
 create mode 100644 firmware/compiled/archive/emonPi_V1.4_bootloader.hex
 create mode 100644 firmware/compiled/archive/emonPi_V1.5.hex
 create mode 100644 firmware/compiled/archive/emonPi_V1.5_bootloader.hex
 create mode 100644 firmware/compiled/archive/emonPi_V1.6.hex
 create mode 100644 firmware/compiled/archive/emonPi_V1.7.hex
 create mode 100644 firmware/compiled/archive/emonPi_V1.8.hex
 create mode 100644 firmware/compiled/archive/emonPi_V1_Bootloader.hex
 create mode 100644 firmware/compiled/archive/emonPi_V2.0.hex
 create mode 100644 firmware/compiled/archive/emonPi_V2.0_bootloader.hex
 create mode 100644 firmware/compiled/archive/emonPi_V2.2.hex
 create mode 100644 firmware/compiled/archive/emonPi_V2.3.hex
 create mode 100644 firmware/compiled/archive/emonPi_V2.4.hex
 create mode 100644 firmware/compiled/archive/emonPi_V2.5.hex
 create mode 100644 firmware/compiled/archive/emonPi_V2.6.hex
 create mode 100644 firmware/compiled/archive/emonPi_V2.7.hex
 create mode 100644 firmware/compiled/archive/emonPi_V2.8.1.hex
 create mode 100644 firmware/compiled/archive/emonPi_V2.8.2.hex
 create mode 100644 firmware/compiled/archive/emonPi_V2.8.4.hex
 create mode 100644 firmware/compiled/archive/emonPi_V2.8.hex
 create mode 100644 firmware/compiled/archive/emonPi_V2.9.0.hex
 create mode 100644 firmware/compiled/latest.hex
 create mode 100644 firmware/compiled/latest_bootloader.hex
 create mode 100755 firmware/compiled/readme.md
 create mode 100755 firmware/compiled/reset
 rename Atmega328/update~ => firmware/compiled/update (56%)
 create mode 100644 firmware/platformio.ini
 create mode 100644 firmware/platformio.md
 create mode 100755 firmware/readme.md
 create mode 100755 firmware/src/interrupt.ino
 create mode 100644 firmware/src/lcd_serial.ino
 create mode 100755 firmware/src/rf.ino
 create mode 100644 firmware/src/src.ino
 create mode 100644 firmware/src/startup.ino
 create mode 100644 firmware/src/temperature.ino
 create mode 100644 firmware/test_sketches/Blink_LED/Blink_LED.cpp.hex
 create mode 100644 firmware/test_sketches/Blink_LED/Blink_LED.ino
 create mode 100644 firmware/test_sketches/DS18B20_temperature_test/DS18B20_temperature_test.cpp.hex
 create mode 100644 firmware/test_sketches/DS18B20_temperature_test/DS18B20_temperature_test.ino
 create mode 100644 firmware/test_sketches/Pi_shutdown_LCD/Pi_shutdown_LCD.cpp.hex
 create mode 100644 firmware/test_sketches/Pi_shutdown_LCD/Pi_shutdown_LCD.ino
 create mode 100644 firmware/test_sketches/RF12demo_RFM68CW_Test/RF12demo_RFM68CW_Test.cpp.hex
 create mode 100644 firmware/test_sketches/RF12demo_RFM68CW_Test/RF12demo_RFM68CW_Test.ino
 create mode 100644 firmware/test_sketches/RF12demo_RFM68CW_Test/dataflash.h
 create mode 100644 firmware/test_sketches/emonPi_continuous_sampling_kwhd/emonPi_continuous_sampling_kwhd.ino
 create mode 100644 firmware/test_sketches/emonPi_discrete_sampling_test/emonPi_discrete_sampling_test.cpp.hex
 create mode 100644 firmware/test_sketches/emonPi_discrete_sampling_test/emonPi_discrete_sampling_test.ino
 create mode 100644 firmware/test_sketches/encode_struct_packet_test2/encode_struct_packet_test2.ino
 create mode 100644 firmware/test_sketches/i2c_scan/.gitignore
 create mode 100644 firmware/test_sketches/i2c_scan/.travis.yml
 create mode 100644 firmware/test_sketches/i2c_scan/lib/readme.txt
 create mode 100644 firmware/test_sketches/i2c_scan/platformio.ini
 create mode 100644 firmware/test_sketches/i2c_scan/src/src.ino
 create mode 100644 firmware/test_sketches/shutdown_button_test/shutdown_button_test.cpp.hex
 create mode 100644 firmware/test_sketches/shutdown_button_test/shutdown_button_test.ino
 create mode 100755 firmware/upload.sh
 mode change 100644 => 100755 fstab
 create mode 100644 hardware/emonpi/changelog.md
 create mode 100644 hardware/emonpi/emonpi_V1_5/board.png
 create mode 100644 hardware/emonpi/emonpi_V1_5/emonP_V1.5_brd_track_blacks.png
 create mode 100644 hardware/emonpi/emonpi_V1_5/emonP_V1.5_brd_values.png
 create mode 100644 hardware/emonpi/emonpi_V1_5/emonP_V1.5_brd_values_white.png
 create mode 100644 hardware/emonpi/emonpi_V1_5/emonP_V1.5_sch.png
 create mode 100644 hardware/emonpi/emonpi_V1_5/emonPi_V1.5.brd
 create mode 100644 hardware/emonpi/emonpi_V1_5/emonPi_V1.5.sch
 create mode 100644 hardware/emonpi/emonpi_V1_5/emonPi_V1.5_brd_black.pdf
 create mode 100644 hardware/emonpi/emonpi_V1_5/emonPi_V1.5_brd_values.pdf
 create mode 100644 hardware/emonpi/emonpi_V1_5/emonPi_V1.5_sch.pdf
 create mode 100644 hardware/emonpi/emonpi_V1_5/emonPi_case_CAD_drawing.png
 create mode 100644 hardware/emonpi/emonpi_V1_5/emonPi_case_drawing.PDF
 create mode 100644 hardware/emonpi/emonpi_V1_5/emonpi_embodiedenergy.ods
 create mode 100644 hardware/emonpi/emonpi_V1_5/photo.png
 create mode 100644 hardware/emonpi/emonpi_V1_5/readme.md
 create mode 100644 hardware/emonpi/emonpi_V1_5/schematic.png
 create mode 100644 hardware/emonpi/emonpi_V1_6/emonPi_V1.6.brd
 create mode 100644 hardware/emonpi/emonpi_V1_6/emonPi_V1.6.sch
 create mode 100644 hardware/emonpi/emonpi_V1_6/emonPi_V1.6_brd.png
 create mode 100644 hardware/emonpi/emonpi_V1_6/emonPi_V1.6_sch.png
 create mode 100644 hardware/emonpi/emonpi_V1_6/photo.png
 create mode 100644 hardware/emonpi/emonpi_V1_6/readme.md
 create mode 100644 hardware/emonpi/emonpi_dev/emonpi.brd
 create mode 100644 hardware/emonpi/emonpi_dev/emonpi.sch
 create mode 100644 hardware/emonpi2c/emonpi2c_V1.1/Eagle_7.3_gerber_export.cam.txt
 create mode 100644 hardware/emonpi2c/emonpi2c_V1.1/emonPi2C_V1.1.brd
 create mode 100644 hardware/emonpi2c/emonpi2c_V1.1/emonPi2C_V1.1.sch
 create mode 100644 hardware/emonpi2c/emonpi2c_V1.1/emonPi2C_V1.1_Gerbers.zip
 create mode 100644 hardware/emonpi2c/emonpi2c_V1.2/emonPi2C_V1.2.brd
 create mode 100644 hardware/emonpi2c/emonpi2c_V1.2/emonPi2C_V1.2.sch
 create mode 100644 hardware/emonpi2c/emonpi2c_V1.2/emonPi2C_V1.2_BOM.ods
 create mode 100644 hardware/emonpi2c/emonpi2c_V1.2/emonPi2C_V1.2_GERBERS/emonPi2C_V1.2.GBL
 create mode 100644 hardware/emonpi2c/emonpi2c_V1.2/emonPi2C_V1.2_GERBERS/emonPi2C_V1.2.GBO
 create mode 100644 hardware/emonpi2c/emonpi2c_V1.2/emonPi2C_V1.2_GERBERS/emonPi2C_V1.2.GBS
 create mode 100644 hardware/emonpi2c/emonpi2c_V1.2/emonPi2C_V1.2_GERBERS/emonPi2C_V1.2.GTL
 create mode 100644 hardware/emonpi2c/emonpi2c_V1.2/emonPi2C_V1.2_GERBERS/emonPi2C_V1.2.GTO
 create mode 100644 hardware/emonpi2c/emonpi2c_V1.2/emonPi2C_V1.2_GERBERS/emonPi2C_V1.2.GTP
 create mode 100644 hardware/emonpi2c/emonpi2c_V1.2/emonPi2C_V1.2_GERBERS/emonPi2C_V1.2.GTS
 create mode 100644 hardware/emonpi2c/emonpi2c_V1.2/emonPi2C_V1.2_GERBERS/emonPi2C_V1.2.TXT
 create mode 100644 hardware/emonpi2c/emonpi2c_V1.2/emonPi2C_V1.2_GERBERS/emonPi2C_V1.2.dri
 create mode 100644 hardware/emonpi2c/emonpi2c_V1.2/emonPi2C_V1.2_GERBERS/emonPi2C_V1.2.gpi
 create mode 100644 hardware/emonpi2c/emonpi2c_dev/emonpi2c.brd
 create mode 100644 hardware/emonpi2c/emonpi2c_dev/emonpi2c.sch
 mode change 100644 => 100755 lcd/README.md
 create mode 100644 lcd/datasheet/lcd_i2c_datasheet.pdf
 create mode 100644 lcd/datasheet/lcd_schematic.pdf
 create mode 100755 lcd/emonPiLCD_detect.sh
 create mode 100755 lcd/emonPiLCD_update.py
 create mode 100755 lcd/gsmhuaweistatus.py
 mode change 100644 => 100755 lcd/testing/lcd_test_IPclock.py
 mode change 100644 => 100755 lcd/testing/test.py
 create mode 100755 logrotate
 create mode 100755 logrotate.conf
 create mode 100755 md5sum.py
 create mode 100644 motd
 create mode 100755 ntp_update.sh
 delete mode 100644 raspbian_slimdown.sh
 create mode 100755 rc.local_jessieminimal
 create mode 100755 rfm69piupdate.sh
 create mode 100755 rpi-ro
 create mode 100755 rpi-rw
 create mode 100755 service-runner
 create mode 100755 service-runner-update.sh
 create mode 100755 sudo_crontab
 rename wifi => sudoers (76%)
 mode change 100644 => 100755
 delete mode 100644 userguide.md
 create mode 100644 wifiAP/hostapd.conf
 create mode 100755 wifiAP/networklog.sh
 create mode 100644 wifiAP/readme.md
 create mode 100755 wifiAP/startAP.sh
 create mode 100755 wifiAP/stopAP.sh
 create mode 100755 wifiAP/wifiAP.sh
 create mode 100644 wifiAP/wpa_supplicant_check.conf

Start emonPi Atmega328 firmware update:

=================================
EmonPi update started
=================================

EUID: 1000

Cannot fetch index base URL http://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement paho-mqtt in /usr/local/lib/python2.7/dist-packages
No distributions at all found for paho-mqtt in /usr/local/lib/python2.7/dist-packages
Storing complete log in /root/.pip/pip.log
Stopping OpenEnergyMonitor emonHub: emonhub has been stopped ok.
Start ATmega328 serial upload using avrdude with latest.hex
Discrete Sampling
avrdude -c arduino -p ATMEGA328P -P /dev/ttyAMA0 -b 115200 -U flash:w:/home/pi/emonpi/firmware/compiled/latest.hex
avrdude-original: Using autoreset DTR on GPIO Pin 7
avrdude-original: stk500_getsync(): not in sync: resp=0xe0
Starting OpenEnergyMonitor emonHub: emonhub has been started ok.
Add RW bash prompt indicator
moving ~./npm to ~/data/npm and create symlink
mv: cannot stat `/home/pi/.npm': No such file or directory
/home/pi/emonpi/emonpiupdate: line 54: cd: /home/pi/.node-red: No such file or directory
/home/pi/emonpi/emonpiupdate: line 55: npm: command not found
/home/pi/emonpi/emonpiupdate: line 56: npm: command not found

Start emoncms update:

=================================
Emoncms update started
Emoncms update script V1.1.1

Tue Feb 20 18:08:31 UTC 2018

#############################################################

emonSD version: emonSD-17Jun2015

ERROR: emonSD base image old or undefined...update will not continue
See latest verson: https://github.com/openenergymonitor/emonpi/wiki/emonSD-pre-built-SD-card-Download-&-Change-Log
Stopping update


...................
emonPi update done
Tue Feb 20 18:08:31 UTC 2018

mount: you must specify the filesystem type
Filesystem is locked - Read Only access
type ' rpi-rw ' to unlock
Unable to load configuration file: /home/pi/data/emonhub.conf

Firstly, updating from a June 2015 emonSD cannot be done via the “update emonpi” button in emoncms as there are significant differences, likewise for upgrading emoncms v8.5 to v9.x.x, I hope there’s no lasting damage done by running the update.

The vary last line

Unable to load configuration file: /home/pi/data/emonhub.conf

might be the reason you have seen the emonTH’s stop.

What is the status of the emonhub service?

sudo service emonhub status

If it’s not running, try restarting it with

sudo service emonhub restart

it may fail to start and show the same error if there is no valid conf file found. It says it “cannot load” not that it “cannot find”, can you confirm if the file exists and what it’s permissions are using

ls -la /home/pi/data/emonhub.conf

if it looks present and correct(ish) can you attach it here (obscuring any apikeys or sensitive data without altering/editing the file to much).

Has the emonPi been restarted since the update?

@glyn.hudson - Does this look right to you?

It seems right at the end after the failures and the emonpi repo has been updated we see this

emonSD version: emonSD-17Jun2015

ERROR: emonSD base image old or undefined...update will not continue
See latest verson: https://github.com/openenergymonitor/emonpi/wiki/emonSD-pre-built-SD-card-Download-&-Change-Log
Stopping update

shouldn’t the test for compatibility be the first thing on the agenda? before making any changes?

If it has only (successfully) updated the emonpi repo, is it feasible to checkout an earlier version to try and recover a working system?

thanks for your help

sudo service emonhub status
result : [FAIL] Checking OpenEnergyMonitor emonHub: emonhub process has failed!

sudo service emonhub restart
result : [ ok ] Restarting OpenEnergyMonitor emonHub: emonhub has been restarted ok.

but if i check status again is failed again

ls -la /home/pi/data/emonhub.conf
result : -rw-rw-r-- 1 pi www-data 0 Feb 18 08:28 /home/pi/data/emonhub.conf

i am not sure how to view a file on putty, i tried “vi emonhub.conf” but the file look empty with just many “~~” inside…
If this is the text that is in the “emonhub” of the local emoncms i am quite sure that was empty already at the beginning, cause as soon as i purchased the emonbase i spent days to have it working but there was some problem getting my emonths/emontx, so i made it blank and connected the nodes directly and all was working well for years with a lot of feeds perfectly working…( not sure what i am saying is clear)
Thanks again for your help

this is the last saved file from emonhub config i made it sunday … sorry when i says it was empty i was wrong maybe…(i was sure about this)

#######################################################################
###
### SPECIMEN emonHub configuration file
### Note that when installed from apt, a new config file is written
### by the debian/postinst script, so changing this file will do
### nothing in and of itself.
###
### Each Interfacer and each Reporter has
### - a [[name]]: a unique string
### - a type: the name of the class it instantiates
### - a set of init_settings (depends on the type)
### - a set of runtimesettings (depends on the type)
### Both init_settings and runtimesettings sections must be defined,
### even if empty. Init settings are used at initialization,
### and runtime settings are refreshed on a regular basis.
### Many settings below are "commented out" as they are not mandatory and
### have been included as a template or to provide alternative options
### removing the leading # will enable the setting and override the default
### Default settings are shown as comments on the same line as the setting
### eg #(default:xyz) "xyz" is set if the setting is "commented out".
###
### All lines beginning with '###' are comments and can be safely removed.
###
#######################################################################
####################### emonHub settings #######################
#######################################################################

[hub]

### loglevel must be one of DEBUG, INFO, WARNING, ERROR, and CRITICAL
### see here : http://docs.python.org/2/library/logging.html
loglevel = DEBUG #(default:WARNING)

#######################################################################
####################### Interfacers #######################
#######################################################################

[interfacers]

### This interfacer manages the RFM2Pi module
[[RFM2Pi]]
    Type = EmonHubJeeInterfacer
    [[[init_settings]]]
        com_port = /dev/ttyAMA0
        com_baud = 38400
    [[[runtimesettings]]]
        pubchannels = ToEmonCMS,
        subchannels = ToRFM12,
        
        # datacode = B #(default:h)
        # scale = 100 #(default:1)
        group = 210 #(default:210)
        frequency = 433 #(default:433)
        baseid = 5 #(emonPi default:5)
        quiet = false #(default:true)
        calibration = 230V #(UK/EU: 230V, US: 110V)
        # interval = 300 #(default:0)
        # nodeoffset = 32 #(default:0)

### This interfacer manages the RFM2Pi module
[[MQTT]]

    Type = EmonHubMqttInterfacer
    [[[init_settings]]]
        mqtt_host = 127.0.0.1
        mqtt_port = 1883
    [[[runtimesettings]]]
        pubchannels = ToRFM12,
        subchannels = ToEmonCMS,
        basetopic = emonhub/
        
[[emoncmsorg]]
    Type = EmonHubEmoncmsHTTPInterfacer
    [[[init_settings]]]
    [[[runtimesettings]]]
        pubchannels = ToRFM12,
        subchannels = ToEmonCMS,
        url = http://emoncms.org
        apikey = 
        senddata = 1
        sendstatus = 1
        
#######################################################################
####################### Nodes #######################
#######################################################################

[nodes]

### List of nodes by node ID
### 'datacode' is default for node and 'datacodes' are per value data codes.
### if both are present 'datacode' is ignored in favour of 'datacodes'
### eg node 99 would expect 1 long and 4 ints, unless the "datacodes" line
### was removed, then "datacode" would make it expect any number of longs,
### likewise per value "scales" will override default node "scale", the number
### of "scales" must match the number of values or frame will be discarded.

[[8]]
nodename = emonTx_1
firmware =V2_3_emonTxV3_4_DiscreteSampling
hardware = emonTx_(NodeID_DIP_Switch1:OFF)
[[[rx]]]
names = power1, power2, power3, power4, Vrms, temp1, temp2, temp3, temp4, temp5, temp6, pulse #Firmware V1.6
datacodes = h,h,h,h,h,h,h,h,h,h,h,L
scales = 1,1,1,1,0.01,0.1,0.1, 0.1,0.1,0.1,0.1,1
units =W,W,W,W,V,C,C,C,C,C,C,p
[[19]]
nodename = emonTH_1
firmware = emonTH_DHT22_DS18B20_RFM69CW
hardware = emonTH_(Node_ID_Switch_DIP1:OFF_DIP2:OFF)
[[[rx]]]
names = temperature, external temperature, humidity, battery
datacode = h
scales = 0.1,0.1,0.1,0.1
units = C,C,%,V


[[23]]
    nodename = emonTH_5
    firmware = V2.x_emonTH_DHT22_DS18B20_RFM69CW_Pulse
    hardware = emonTH_(Node_ID_Switch_DIP1:OFF_DIP2:OFF)
    [[[rx]]]
       names = temperature, external temperature, humidity, battery, pulseCount
       datacodes = h,h,h,h,L
       scales = 0.1,0.1,0.1,0.1,1
       units = C,C,%,V,p
  
[[24]]
    nodename = emonTH_6
    firmware = V2.x_emonTH_DHT22_DS18B20_RFM69CW_Pulse
    hardware = emonTH_(Node_ID_Switch_DIP1:ON_DIP2:OFF)
    [[[rx]]]
       names = temperature, external temperature, humidity, battery, pulseCount
       datacodes = h,h,h,h,L
       scales = 0.1,0.1,0.1,0.1,1
       units = C,C,%,V,p
    
[[25]]
    nodename = emonTH_7
    firmware = V2.x_emonTH_DHT22_DS18B20_RFM69CW_Pulse
    hardware = emonTH_(Node_ID_Switch_DIP1:OFF_DIP2:ON)
    [[[rx]]]
       names = temperature, external temperature, humidity, battery, pulseCount
       datacodes = h,h,h,h,L
       scales = 0.1,0.1,0.1,0.1,1
       units = C,C,%,V,p

[[26]]
    nodename = emonTH_8
    firmware = V2.x_emonTH_DHT22_DS18B20_RFM69CW_Pulse
    hardware = emonTH_(Node_ID_Switch_DIP1:ON_DIP2:ON)
    [[[rx]]]
       names = temperature, external temperature, humidity, battery, pulseCount
       datacodes = h,h,h,h,L
       scales = 0.1,0.1,0.1,0.1,1
       units = C,C,%,V,p

Does it confirm why? Are there any eror messages?

For now I’ll assume it is because the emonhub.conf file “cannot be loaded” and I suspect that is most likely because it is empty.

The text editor we use tends to be nano so you can check the conf’s content with

rpi-rw
nano /home/pi/data/emonhub.conf

(you need to use rpi-rw and rpi-ro to unlock/lock the OS as it is configured to be read-only)

If it is empty, try replacing it with the backup file you have. Even if turns out not to be 100% correct, it should be enough to allow emonhub to start and debug from there.

If you have done something bespoke, I cannot know what that is so I cannot even guess how that may or may not have been effected by the update or if we are doing the right thing reinstating the emonhub.conf.

I’m a bit concerned as to how or why the update script might have deleted the emonhub.conf content.

ok Paul , the error was cause cannot find emonhub.conf , it was empty, i filled with the backup and now whant i restart it say OK and no errors.
pi@emonpi:~$ sudo service emonhub restart
[ ok ] Restarting OpenEnergyMonitor emonHub: emonhub has been restarted ok.
let me check is will start working again, update you later

Ok , is still nto working , I want to confirg you that the “sample” emonhub.conf i created is completely wrong cause i am quite sure that i did had the file empty previously… cause the node id assignment didnt work so i dont it without …
Let me know what other tests i should try …
If is so complicated to recover all my beloved feeds i could consider to make a blank new installation and restart from zero…

now that the service is running, can we try to upgrade and check later to try to restart the feeds ?
If so , what are the next steps to be done ?

I have no idea!

emonhub connects to the emonpi board via the RPi’s GPIO serial port and decodes that data to send to emoncms (and other places) via mqtt and http, if you are not using emonhub, you must have something else connecting to the serial port to process that data.

I have no way of knowing what you might of done, did you you use nodered? did you write a bespoke script?

I don’t think you can upgrade that easily. It’s difficult to know as you have had at least one failed upgrade and apparently there’s some bespoke software or code, so the status or condition of your setup is totally unknown.

I would say try and recover/backup your data and mysql tables etc manually and buy a new sd card and try building a fresh image without overwriting the old one so you can still get to settings and data if needed.

Hi Paul ,mine is a standard system , configured like this :
emonbase+ 3 emonth ( one on this have the sketch you done for me a lot of time ago with multiple temp sensors)+ emontx …
I didnt do anythins speciale mainly because i have no more programming skills…

in my Emonhub.conf the [nodes] part was empty ( i think i remember wrong and was not full empty but just the node part ) cause the node part is used to assign a name to the imputs , for me that was no working, so i deleted that part and it started working correctly without the assigned name, i assigned in the feed section …
Hope is clear …

Anyway , i will try to prepare a brand new Sd with latest sd image loaded on it … i think is the fastest way … then i will rebuild the feed structures, and start new recordings…not a big issue…

1 Like

Dear Paul , i restarted the EMONBASE and now i can see the nodes, and feed are coming … finally…
can you tell me how to have the “backup module” in the local emoncms?
emonhub.conf is like before only the first part , without the NODE assignment names and info , all is working fine…