Released June 26, 2024
Meteobridge RPI: fixes a bug that prevents from re-installing the Dashboard.
Search found 25 matches
- Wed Jul 10, 2024 7:48 am
- Forum: Meteobridge PRO/PRO2/NANOSD/RPI/VM Discussion
- Topic: any raspberry pi Guru on this forum? **solved**
- Replies: 2
- Views: 1198
- Tue Jun 25, 2024 10:58 pm
- Forum: Meteobridge PRO/PRO2/NANOSD/RPI/VM Discussion
- Topic: any raspberry pi Guru on this forum? **solved**
- Replies: 2
- Views: 1198
any raspberry pi Guru on this forum? **solved**
The reason I ask is the folowing:
I write a new sdcard today with the .bin file downloaded to my ubuntu 22LTS computer and use Raspberrypi imager to do so.
after starting up everything works fine exept for the dashbord.
I write a new sdcard on the same computer with dd.
after starting it up ...
I write a new sdcard today with the .bin file downloaded to my ubuntu 22LTS computer and use Raspberrypi imager to do so.
after starting up everything works fine exept for the dashbord.
I write a new sdcard on the same computer with dd.
after starting it up ...
- Wed Jun 13, 2012 11:08 pm
- Forum: other stations (RainWise, Peet Bros, energy monitors)
- Topic: Serial Volt/Amp meter
- Replies: 20
- Views: 19397
Re: Serial Volt/Amp meter
echo data20 $(printf "%0.0f" $(echo "$volt*100"|bc))"\n"data21 $(printf "%0.0f" $(echo "$amp*100"|bc))"\n"data22 $(printf "%0.0f" $(echo "$watt*100"|bc))"\n"data23 $(printf "%0.0f" $(echo "$wattH*100"|bc));
that is, IF you have "bc" installed.
that is, IF you have "bc" installed.
- Wed Jun 13, 2012 10:18 pm
- Forum: other stations (RainWise, Peet Bros, energy monitors)
- Topic: Serial Volt/Amp meter
- Replies: 20
- Views: 19397
Re: Serial Volt/Amp meter
GNU grep 2.6.3
So, different grep, sorry
I have a working script here on debian squeeze, with multiplication included, but it seems I can't help you because the differences in our systems.
Just in case someone wants to try: #! /bin/sh
#
while :
do
WhatWeRead=$(grep -m 1 V /dev/ttyUSB0)
# Format ...
So, different grep, sorry
I have a working script here on debian squeeze, with multiplication included, but it seems I can't help you because the differences in our systems.
Just in case someone wants to try: #! /bin/sh
#
while :
do
WhatWeRead=$(grep -m 1 V /dev/ttyUSB0)
# Format ...
- Wed Jun 13, 2012 9:07 pm
- Forum: other stations (RainWise, Peet Bros, energy monitors)
- Topic: Serial Volt/Amp meter
- Replies: 20
- Views: 19397
Re: Serial Volt/Amp meter
did find another way using grep:
-m 1 :stop after 1 match
and we know there is allways a "V" in the string
#! /bin/sh
#
while :
do
WhatWeRead=$(grep -m 1 V /dev/ttyUSB0)
# Format reading
volt=`echo $WhatWeRead | cut -c -7`
amp=`echo $WhatWeRead | cut -c 10-16`
watt=`echo $WhatWeRead | cut -c 19 ...
-m 1 :stop after 1 match
and we know there is allways a "V" in the string
#! /bin/sh
#
while :
do
WhatWeRead=$(grep -m 1 V /dev/ttyUSB0)
# Format reading
volt=`echo $WhatWeRead | cut -c -7`
amp=`echo $WhatWeRead | cut -c 10-16`
watt=`echo $WhatWeRead | cut -c 19 ...
- Mon Jun 11, 2012 8:45 pm
- Forum: other stations (RainWise, Peet Bros, energy monitors)
- Topic: Serial Volt/Amp meter
- Replies: 20
- Views: 19397
Re: Serial Volt/Amp meter
Note: I tested the script using a file, are you sure cat is not hanging when you use it with /dev/ttyUSB0 from within the script ?
I have never done that.
you can see what shellscripts are doing when you use
and start it manually
I have never done that.
you can see what shellscripts are doing when you use
Code: Select all
#! /bin/sh -x- Sun Jun 10, 2012 9:10 am
- Forum: other stations (RainWise, Peet Bros, energy monitors)
- Topic: Serial Volt/Amp meter
- Replies: 20
- Views: 19397
Re: Serial Volt/Amp meter
This should do it if:
When you do a cat /dev/ttyUSB0
the result is:00016.3V-00013.4A 00218.2W 00557.5WH
#! /bin/sh
#
while :
do
# Read data from sensors
WhatWeRead=`cat /dev/ttyUSB0`
# Format reading
volt=`echo $WhatWeRead | cut -c -7`
amp=`echo $WhatWeRead | cut -c 10-16`
watt=`echo $WhatWeRead ...
When you do a cat /dev/ttyUSB0
the result is:00016.3V-00013.4A 00218.2W 00557.5WH
#! /bin/sh
#
while :
do
# Read data from sensors
WhatWeRead=`cat /dev/ttyUSB0`
# Format reading
volt=`echo $WhatWeRead | cut -c -7`
amp=`echo $WhatWeRead | cut -c 10-16`
watt=`echo $WhatWeRead ...
- Sun Jun 10, 2012 12:26 am
- Forum: other stations (RainWise, Peet Bros, energy monitors)
- Topic: Serial Volt/Amp meter
- Replies: 20
- Views: 19397
Re: Serial Volt/Amp meter
The best I can really do so far is (from SSH):
cat /dev/ttyUSB0
(or ttyUSB1) will output:
00016.3V-00013.4A 00218.2W 00557.5WH
#! /bin/sh
#
while :
do
# Read data from sensors
WhatWeRead=`cat /dev/ttyUSB0`
# Format reading
volt=`echo $WhatWeRead | cut -c -7`
echo data20 $(printf "%0.1f ...
cat /dev/ttyUSB0
(or ttyUSB1) will output:
00016.3V-00013.4A 00218.2W 00557.5WH
#! /bin/sh
#
while :
do
# Read data from sensors
WhatWeRead=`cat /dev/ttyUSB0`
# Format reading
volt=`echo $WhatWeRead | cut -c -7`
echo data20 $(printf "%0.1f ...
- Mon Apr 16, 2012 9:17 pm
- Forum: Graph Definitions
- Topic: cumulative raingraph with gnuplot
- Replies: 4
- Views: 13551
Re: cumulative raingraph with gnuplot
I have two questions:
First how the crontab to do? (where he edited, how)
Second as the graph created by upload via FTP to other graphs?
:!: Are you sure you want to try this ?
You can brake your system and nobody can fix it for you.
Using cron is one of the basics in Linux, so I don't know it ...
First how the crontab to do? (where he edited, how)
Second as the graph created by upload via FTP to other graphs?
:!: Are you sure you want to try this ?
You can brake your system and nobody can fix it for you.
Using cron is one of the basics in Linux, so I don't know it ...
- Sun Feb 19, 2012 5:08 pm
- Forum: Meteohub Application
- Topic: rainfall graph
- Replies: 2
- Views: 2433
- Sat Feb 04, 2012 8:11 pm
- Forum: Meteohub Application
- Topic: Import 6 years of Weather Display data?
- Replies: 3
- Views: 3338
- Mon Jan 16, 2012 1:52 pm
- Forum: Meteohub Application
- Topic: NSLU2 USB Stick Memory Wear Error Messages
- Replies: 3
- Views: 2853
Re: NSLU2 USB Stick Memory Wear Error Messages
Hello,
installing the latest updates I hoped for the indication of memory wear but memory wear indication does not work on my NSLU2.
I get the following error messages in my system log:
/home/meteohub/wear.sh: /home/meteohub/wear.sh: 38: Syntax error: +
cat: /sys/block/s: No such file or ...
installing the latest updates I hoped for the indication of memory wear but memory wear indication does not work on my NSLU2.
I get the following error messages in my system log:
/home/meteohub/wear.sh: /home/meteohub/wear.sh: 38: Syntax error: +
cat: /sys/block/s: No such file or ...
- Wed Aug 10, 2011 10:13 am
- Forum: misc
- Topic: Meteohub plugin for Saratoga AJAX/PHP templates
- Replies: 33
- Views: 35770
Re: Meteohub plugin for Saratoga AJAX/PHP templates
Great job, like always.
Jozef
See it in action ? I'm using it.
Jozef
See it in action ? I'm using it.
- Wed Jun 15, 2011 9:02 am
- Forum: Vantage
- Topic: Davis VP+, VirtualVP, SheevaPlug
- Replies: 16
- Views: 12546
Re: Davis VP+, VirtualVP, SheevaPlug
Thank you Boris, it sure will help Ken to build a nice template for the meteohub systemadmin wrote:This will be fixed with next update. Thanks for finding this ugly bug!
Jozef
- Tue Jun 14, 2011 11:46 pm
- Forum: Vantage
- Topic: Davis VP+, VirtualVP, SheevaPlug
- Replies: 16
- Views: 12546
Re: Davis VP+, VirtualVP, SheevaPlug
I've got my Sheeva Meteohub now uploading to a local FTP service.. now to figure out how to insert a custom template for the MHtags file on the Meteohub.
Best regards,
Ken
Had to move the function to put the data in array to the defs-file.
Meteohub seems to replace everything between [ and ] and ...
Best regards,
Ken
Had to move the function to put the data in array to the defs-file.
Meteohub seems to replace everything between [ and ] and ...