[script] PIco HV3.0A Toolkit (27-01-18)

Re: [script] PIco HV3.0A install, remove and upgrade (31-07-

Postby Siewert30SW » Wed Aug 02, 2017 10:20 pm

Beta version got updated again...

Changelog:
- Added extra comment into freespace check section
- Some UI optimization
- Typo fixed
- Added support for the following OS distros
1. Raspbian Jessie 8.0 (Already supported)
2. Minibian with kernel version 4.1 and up
3. Ubuntu 16.04.2 LTS
4. DietPi

Script:
https://github.com/Siewert308SW/pico_installer
Setup:
- RPi3 - PIco hv3.0A Plus / Domoticz Beta Custom 3.8XXX / RFXtrx433E / Aeotec Gen5
- RPi3 - PIco hv3.0A Plus / PiHole / Youless Elec/Gas
- FI9803P Cams
- KD101 detectors
- KaKu/z-wave stuff

Domoticz scripts: @GitHub
PIco UPS Toolkit: @GitHub
User avatar
Siewert30SW
 
Posts: 192
Joined: Fri Jan 06, 2017 8:06 pm
Location: The Netherlands

Re: [script] PIco HV3.0A install, remove and upgrade (31-07-

Postby cresfang » Thu Aug 24, 2017 10:01 am

Bro, could you make this script working under Stretch?
http://crescendo-fang.cf
User avatar
cresfang
 
Posts: 88
Joined: Mon Aug 29, 2016 9:43 am
Location: Garden of Time

Re: [script] PIco HV3.0A install, remove and upgrade (31-07-

Postby Riesch » Fri Aug 25, 2017 7:24 am

After three weeks my previous post was approved by the moderators...
Riesch
 
Posts: 2
Joined: Wed Aug 02, 2017 9:00 pm

Re: [script] PIco HV3.0A install, remove and upgrade (31-07-

Postby Siewert30SW » Fri Aug 25, 2017 5:07 pm

cresfang wrote:Bro, could you make this script working under Stretch?


Working on a complete overhauled script.
Meanwhile you could try the script if the install, removal and status section works.

http://www.siewert-lameijer.nl/picotoolkit_test.sh
Setup:
- RPi3 - PIco hv3.0A Plus / Domoticz Beta Custom 3.8XXX / RFXtrx433E / Aeotec Gen5
- RPi3 - PIco hv3.0A Plus / PiHole / Youless Elec/Gas
- FI9803P Cams
- KD101 detectors
- KaKu/z-wave stuff

Domoticz scripts: @GitHub
PIco UPS Toolkit: @GitHub
User avatar
Siewert30SW
 
Posts: 192
Joined: Fri Jan 06, 2017 8:06 pm
Location: The Netherlands

Re: [script] PIco HV3.0A install, remove and upgrade (31-07-

Postby Pimaster » Fri Aug 25, 2017 6:56 pm

Riesch wrote:After three weeks my previous post was approved by the moderators...


Hi
I missed it. I'm very Sorry
Warmest Regards
PiM
---
Designing with Mentor Graphics PADS - www.pads.com
Please read and follow the PiForum rules
http://www.forum.pimodules.com/viewtopic.php?f=13&t=196
---
Pimaster
Site Admin
 
Posts: 1617
Joined: Fri Sep 14, 2012 7:50 am

Re: [script] PIco HV3.0A install, remove and upgrade (31-07-

Postby cresfang » Thu Aug 31, 2017 5:36 am

Siewert30SW wrote:
cresfang wrote:Bro, could you make this script working under Stretch?


Working on a complete overhauled script.
Meanwhile you could try the script if the install, removal and status section works.

http://www.siewert-lameijer.nl/picotoolkit_test.sh

nice ^^
thank you so much ^^
http://crescendo-fang.cf
User avatar
cresfang
 
Posts: 88
Joined: Mon Aug 29, 2016 9:43 am
Location: Garden of Time

Re: [script] PIco HV3.0A install, remove and upgrade (31-07-

Postby DutchDomoticz » Thu Nov 23, 2017 9:23 pm

Hi there,

I am relatively new to Raspberry Pi and I recently bought a PIco UPS HV3.0A Top End.
After struggling with manually installing and not be successful in that I found the Installer script Siewert created.
Just to be sure I first removed the PIco UPS HV3.0A related software and after that installed it again.
Both removal and installation was done using the script and went well without any errors.
However, when I choose option 3 in the Installer script I get the following message:

Code: Select all
*******************************************************
*                UPS PIco HV3.0A Status              *
*                        Version 6.0                        *
*******************************************************

  - PIco Firmware..........: ff
  - PIco Bootloader........: ff
  - PIco PCB Version.......: ff
  - PIco BAT Version.......: ERROR
  - PIco BAT Runtime.. ....: TIMER DISABLED
  - PIco rs232 State.......: OFF

  - Powering Mode..........: ERROR
  - Charger State............:
Traceback (most recent call last):
  File "pico_status/pico_status.py", line 261, in <module>
    print" ","- Charger State..........:",charger_state()
  File "pico_status/pico_status.py", line 130, in charger_state
    battpercentage = bat_percentage()
  File "pico_status/pico_status.py", line 116, in bat_percentage
    datavolts = bat_level()
  File "pico_status/pico_status.py", line 112, in bat_level
    return (float(data) / 100)
ValueError: could not convert string to float: ffff



I don't know what is causing this error. It seems like there is something going wrong in the communication with the PIco UPS.
After some more reading I think it might have to do with the firmware version of my PIco UPS, but I am not sure.
Does anyone have experience with this?

Any help will be much appreciated.

Regards,
Dick
DutchDomoticz
 
Posts: 4
Joined: Wed Nov 22, 2017 9:26 pm

Re: [script] PIco HV3.0A install, remove and upgrade (31-07-

Postby Siewert30SW » Sat Jan 27, 2018 2:34 pm

DutchDomoticz wrote:Hi there,

I am relatively new to Raspberry Pi and I recently bought a PIco UPS HV3.0A Top End.
After struggling with manually installing and not be successful in that I found the Installer script Siewert created.
Just to be sure I first removed the PIco UPS HV3.0A related software and after that installed it again.
Both removal and installation was done using the script and went well without any errors.
However, when I choose option 3 in the Installer script I get the following message:

Code: Select all
*******************************************************
*                UPS PIco HV3.0A Status              *
*                        Version 6.0                        *
*******************************************************

  - PIco Firmware..........: ff
  - PIco Bootloader........: ff
  - PIco PCB Version.......: ff
  - PIco BAT Version.......: ERROR
  - PIco BAT Runtime.. ....: TIMER DISABLED
  - PIco rs232 State.......: OFF

  - Powering Mode..........: ERROR
  - Charger State............:
Traceback (most recent call last):
  File "pico_status/pico_status.py", line 261, in <module>
    print" ","- Charger State..........:",charger_state()
  File "pico_status/pico_status.py", line 130, in charger_state
    battpercentage = bat_percentage()
  File "pico_status/pico_status.py", line 116, in bat_percentage
    datavolts = bat_level()
  File "pico_status/pico_status.py", line 112, in bat_level
    return (float(data) / 100)
ValueError: could not convert string to float: ffff



I don't know what is causing this error. It seems like there is something going wrong in the communication with the PIco UPS.
After some more reading I think it might have to do with the firmware version of my PIco UPS, but I am not sure.
Does anyone have experience with this?

Any help will be much appreciated.

Regards,
Dick


Sorry for my late reply, haven't been on the forum for a long, long time, no need to say why as we all know why.
As for your issue, can't see why you have this issue.
Hard to tell with no background information.
To me is looks like just a simple mismatch, if the UPS is working then no worries.
Pico_Status just tries to read the PIco board and has nothing to do with any functionality.
Which firmware did you ran at the moment of your writing?
Setup:
- RPi3 - PIco hv3.0A Plus / Domoticz Beta Custom 3.8XXX / RFXtrx433E / Aeotec Gen5
- RPi3 - PIco hv3.0A Plus / PiHole / Youless Elec/Gas
- FI9803P Cams
- KD101 detectors
- KaKu/z-wave stuff

Domoticz scripts: @GitHub
PIco UPS Toolkit: @GitHub
User avatar
Siewert30SW
 
Posts: 192
Joined: Fri Jan 06, 2017 8:06 pm
Location: The Netherlands

Re: [script] PIco HV3.0A install, remove and upgrade (31-07-

Postby Siewert30SW » Sat Jan 27, 2018 2:39 pm

Updated the installer and renamed it to picotoolkit.
Download is available in the first post.

Changelog:
Now compatible with various Raspberry OS's:
- Raspbian Jessie
- Raspbian Stretch
- Minibian
- DietPi
- Ubuntu Mate
- LibreELEC

Colorized the GUI
Updated some failsave checks
Added some more install checks
Simplified installation and PIco initialisation

Haven't been here for a long time as we all know why.
But noticed the script was out of date so i just wanted to update it to be more compatible.
I also wanted to insert new features to be able to control your PIco via the toolkit aswell as the option to upgrade firmware.
But since the PIco is not functional is anyway (we know why) i removed both boards months ago and did not do and script writing since then.
Hope to upgrade / write new features soon if possible...
Setup:
- RPi3 - PIco hv3.0A Plus / Domoticz Beta Custom 3.8XXX / RFXtrx433E / Aeotec Gen5
- RPi3 - PIco hv3.0A Plus / PiHole / Youless Elec/Gas
- FI9803P Cams
- KD101 detectors
- KaKu/z-wave stuff

Domoticz scripts: @GitHub
PIco UPS Toolkit: @GitHub
User avatar
Siewert30SW
 
Posts: 192
Joined: Fri Jan 06, 2017 8:06 pm
Location: The Netherlands

Previous

Return to UPS PIco HV3.0 Python and other Tools

Who is online

Users browsing this forum: No registered users and 1 guest