×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

How do I install weatherradio and especially the web page?

  • Posts: 250
  • Thank you received: 3
Hello
I was having problems with my weatherradio station so when I was searching I found that my OS on my tinkerboard had a problem.
I had to reinstall the OS "nafabox" but now I don't have weatherradio.
I have tried to follow what is written on the dedicated page, but I can't.

So, who can put the command lines in order to install weatheradio again?

Thank you very much.
Christophe
Last edit: 1 year 11 months ago by Porchet.
1 year 11 months ago #81877

Please Log in or Create an account to join the conversation.

  • Posts: 276
  • Thank you received: 52
Hi Christophe

The is ubuntu based?
You tried the install instructions here?
www.indilib.org/download.html
===sudo apt-get install indi-full

A surgical install of only the duino package

launchpad.net/~mutlaqja/+archive/ubuntu/...tus_filter=published

Will get you to the 'deb' packages available based on ubuntu version

Click on your ubuntu version then right click on the relevant deb package and 'copy link'

Navigate to someplace on your system then do a (as example Ubuntu 22.04)
wget THE-COPIED-LINK
e.g.
wget launchpad.net/~mutlaqja/+archive/ubuntu/...ntu22.04.1_amd64.deb

Then do a
sudo dpkg -i ./indi-duino_1.16~202203170701~ubuntu22.04.1_amd64.deb

Gene
1 year 11 months ago #81882

Please Log in or Create an account to join the conversation.

  • Posts: 250
  • Thank you received: 3
hello
so maybe I misspoke.
I need help to install "WeatherRadio" on my tinkerboard.
All the Kstars part works normally.

Actually I need two things.
1st how to install the WeatherRadio driver properly
2nd how to install the web page part of Waetherradio".

Best Regards
Christophe
1 year 11 months ago #81884

Please Log in or Create an account to join the conversation.

  • Posts: 276
  • Thank you received: 52
Hi Christophe,

The link provided above will allow you to install the INDI driver for weather radio based on your version of Ubunut( this is Ubuntu, correct?).
See "A surgical install of only the duino package" above

The indi_weatherradio driver is part of the indi_duino 3rd party driver suite.
github.com/indilib/indi-3rdparty/tree/master/indi-duino

I am not familiar with the web side of weather radio.

Gene
1 year 11 months ago #81886

Please Log in or Create an account to join the conversation.

  • Posts: 250
  • Thank you received: 3
okay, so I didn't get it.
So my system is under "armbian" because it's installed on a "Tinkerboard", but I'll try to look at it.
But I must admit that I'm not very good with linux, unfortunately.
That's why I asked the question about the command line and in the right order, like a notice I could have kept for a next time

Regards
Christophe
1 year 11 months ago #81888

Please Log in or Create an account to join the conversation.

  • Posts: 276
  • Thank you received: 52
Hi

Understood!

What commands did you use to install your kstars/ekos ?

Where they these?
sudo apt-add-repository ppa:mutlaqja/ppa
sudo apt-get update
sudo apt-get install indi-full kstars-bleeding

?
The 'indi-full' should have brought in indi_weatherradio and be available in ekos (at least the INDI side).

Gene
1 year 11 months ago #81890

Please Log in or Create an account to join the conversation.

  • Posts: 250
  • Thank you received: 3
Hello
now I would like to install the web page
it's this command that I have to do
==== MeteoStations graphs python daemons. ====
Install dependencies
    apt-get install python python-rrdtool python-simplejson python-utidylib
Edit and customice meteoconfig.py script to macht your setup.
    Use only one of the connection options
symlink meteostationWEB/html to /var/www/meteo
    ln -s /full/path/to/meteostationWEB/html /var/www/meteo
Create and set permissions for chart dir
    mkdir /var/www/meteo/CHART
    chmod 774
Set apache group to own directories
    sudo chown -R [you]:www-data /var/www/meteo
 
Test startupMETEO.sh and put on rc.local if you want a automatic startup.

because I have this error
chris@tinkerboard:~$ sudo apt-get install python python-rrdtool python-simplejson python-utidylib
[sudo] Mot de passe de chris : 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Note : sélection de « python-is-python2 » au lieu de « python »
E: Impossible de trouver le paquet python-rrdtool
E: Impossible de trouver le paquet python-utidylib
chris@tinkerboard:~$ sudo apt-get install python-is-python2  python-rrdtool python-simplejson python-utidylib
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
E: Impossible de trouver le paquet python-rrdtool
E: Impossible de trouver le paquet python-utidylib
chris@tinkerboard:~$ 
1 year 11 months ago #82082

Please Log in or Create an account to join the conversation.

  • Posts: 250
  • Thank you received: 3
Hello
no one has an idea for my problem.

Regards
Christophe
1 year 11 months ago #82128

Please Log in or Create an account to join the conversation.

  • Posts: 276
  • Thank you received: 52
Hi Christophe,

Try using PIP to install rrdtool and utidylib
pypi.org/project/rrdtool/
utidylib.readthedocs.io/en/latest/#installing

Gene
1 year 11 months ago #82139

Please Log in or Create an account to join the conversation.

  • Posts: 250
  • Thank you received: 3
No eBay APP ID and/or Cert ID defined in Kunena configurationOk,now I have this message
<code>chris@tinkerboard:~$ pip install rrdtool
Collecting rrdtool
Downloading rrdtool-0.1.15.tar.gz (21 kB)
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-lw4rrf7p/rrdtool/setup.py'"'"'; __file__='"'"'/tmp/pip-install-lw4rrf7p/rrdtool/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-lw4rrf7p/rrdtool/pip-egg-info
cwd: /tmp/pip-install-lw4rrf7p/rrdtool/
Complete output (5 lines):
/tmp/tmp_python_rrdtoolkjtcqe92/test_rrdtool.c:2:10: fatal error: rrd.h: Aucun fichier ou dossier de ce type
2 | #include <rrd.h>
| ^~~~~~~
compilation terminated.
Error: Unable to compile the binary module. Do you have the rrdtool header and libraries installed?
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
chris@tinkerboard:
</code>

Regards
Chris
Last edit: 1 year 11 months ago by Porchet.
1 year 11 months ago #82141

Please Log in or Create an account to join the conversation.

  • Posts: 62
  • Thank you received: 12
Try this
installati.one/debian/10/rrdtool/

Armbian is based on Debian, so hopefully it will work.
1 year 11 months ago #82142

Please Log in or Create an account to join the conversation.

  • Posts: 250
  • Thank you received: 3
Hello
so the commands are working
sudo apt-get update
sudo apt-get -y install rrdtool
andbut not the test
chris@tinkerboard:~$ pip install uTidylib
Requirement already satisfied: uTidylib in ./.local/lib/python3.8/site-packages (0.8)
chris@tinkerboard:~$ ./setup.py test
bash: ./setup.py: Aucun fichier ou dossier de ce type
chris@tinkerboard:~$ py.test tidy
bash: py.test : commande introuvable

But still the same problem
chris@tinkerboard:~$ sudo apt-get update
Atteint :1 http://ppa.launchpad.net/mutlaqja/libgphoto2/ubuntu focal InRelease
Atteint :2 http://ports.ubuntu.com focal InRelease                             
Atteint :3 http://ports.ubuntu.com focal-security InRelease                    
Atteint :4 http://ppa.launchpad.net/mutlaqja/ppa/ubuntu focal InRelease        
Atteint :5 http://ports.ubuntu.com focal-updates InRelease                     
Atteint :6 https://linux.teamviewer.com/deb stable InRelease                   
Atteint :7 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu focal InRelease
Atteint :8 http://ports.ubuntu.com focal-backports InRelease                   
Atteint :9 https://dl.google.com/linux/chrome/deb stable InRelease             
Atteint :10 http://ppa.launchpad.net/saiarcot895/chromium-dev/ubuntu focal InRelease
Atteint :11 https://mirrors.xtom.de/armbian focal InRelease           
Lecture des listes de paquets... Fait
chris@tinkerboard:~$ sudo apt-get install python python-rrdtool python-simplejson python-utidylib
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Note : sélection de « python-is-python2 » au lieu de « python »
E: Impossible de trouver le paquet python-rrdtool

Regards
Chris
1 year 11 months ago #82145

Please Log in or Create an account to join the conversation.

Time to create page: 2.069 seconds