×

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

Bi-monthly release with minor bug fixes and improvements

WEB interface indi duino meteostation

  • Posts: 50
  • Thank you received: 2
Hi,

First, I'm sorry for my bad english.

So, I have a problem with my meteo project.
I followed github, indlib web pages.
I have also followed the readme in the directory indi-duino in the 3rdparty of INDI.

So, for testing I have only wiring my MLX90614.
I have modified the indiduinoMETEO.ino file.

In KSTARS & EKOS, I have the sky temperature and the ambiant temperature. I think that'all is ok.

Then, I would try the interface.

i followed this instructions:



Then I have modified the file ~/meteostationWEB/meteoconfig.py

I put in copy my modifications.

So, I lunched in consol from meteoWEB directory:
./startMETEO.sh

then,
in my browser I have put this adress: 192.168.1.1/meteo/index.html

but, the page thats open is my main page of my tinkerboard... and I can't to see this beautifull page:
raw.githubusercontent.com/magnue/induino...-meteoweb_gauges.png

So, can you help me please??

Also, when the startMETEO.sh is lucnhed and when i would like to lunch EKOS, EKOS say me that an other server is open and it killed to lunch in EKOS. normaly?

thank you very much

Olivier

File Attachment:

File Name: meteoconfi...12-4.zip
File Size:2 KB
3 years 10 months ago #53680
Attachments:

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

  • Posts: 50
  • Thank you received: 2
Nobody can help me?

Please :-)
3 years 10 months ago #53719

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

  • Posts: 50
  • Thank you received: 2
it's normal that I have just these informations in the terminal when I start meteoSTART.sh ?

because in others topics I have see min max ....?

thanks :)

Olivier
3 years 10 months ago #53779
Attachments:

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

  • Posts: 50
  • Thank you received: 2
Well, the subject does not attract crowds ^^


I was able to move forward on my side and my problem is almost solved.

I have fixed the problem of the server.

In fact, in meteoconfig.py there is a line where we ask if we use a "cron" server and I did not comment on this line.

So by relaunching the startMETEO.sh file and I open the index.html page I can see the values ​​of my MLX. -> cool.


By cons I am stuck on the how can we access from another computer or from my smartphone to this page. Because when I open the index.html file which is in the htlm directory of meteostationWEB it opens it locally.


So, if someone has an idea, I'm interested.


Since it works with an apache server, maybe there is something to do or I don't know !!


Thank you :)


PS: I attach the photo of the page seen in local mode when I open index.html
3 years 10 months ago #53802
Attachments:

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

  • Posts: 2247
  • Thank you received: 223
Can you summarise the current issues you're having please so that I can try to help you.
I do run meteostation too and it works great but it can be a bit of a pain sometimes. My weather URL is meteo.heidenrod-obs.de/
3 years 10 months ago #53838

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

  • Posts: 2247
  • Thank you received: 223
I am attaching 3 files for you.
My udev rule, my startMETEO.sh and meteoconfig.py
you would have to remove the .txt file extension, the udev file goes into /etc/udev/rules.d/ and in theory after replugging you Arduino you should see /dev/Weather

The startup script creates a FIFO file in /tmp
/tmp/indi_weatherFIFO

You will noticed that it runs on port 7625 and uses indi_weather as the binary.

symlink for indi_weather:
# ll /usr/bin/indi_weather
lrwxrwxrwx 1 root root 19 Oct 12 2018 /usr/bin/indi_weather -> /usr/bin/indiserver


File Attachment:

File Name: 99-Weather.rules.txt
File Size:0 KB

File Attachment:

File Name: startMETEO.sh.txt
File Size:1 KB

File Attachment:

File Name: meteoconfig.py.txt
File Size:4 KB
3 years 10 months ago #53843
Attachments:

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

  • Posts: 50
  • Thank you received: 2
Hi,

thanks for your response and files.

So, I have to try to assemble a weather station for my futur observatory.
And the indi duino project is good.

So I have fallowed all instructions and all seems OK.

In kstars & ekos I can to connect the arduino and i can to see values.

Then, in the main folder meteostationWEB/html, I execute the index.htlm file and I can see the differents gauges.

But, the indiserver is running on a tinkerboard (ASUS Raspberry with Ubuntu 18.04).
My wish is to see these gauges from my windows PC or my smartphone and I don't know how to do.

Can you help me please?

I have put your rule (I had to modified to adapt my arduino)
I have put my files (meteocnfig + startMETEO in a old folder) and I have put your 2 files in the ~/meteostationEB/ folder.

I execute startMETEO ( I had to do chmod +x) and there are errors.

But, if my old startMETEO.sh is OK (I can see the index page in local mode) how to do to see an other client?

thans a lot

Olivier
3 years 10 months ago #53860

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

  • Posts: 50
  • Thank you received: 2
Hi, I have solved the problem! I have unsistall apache2, then reisntall apache2 and I have open NAT in my box -> all are OK!! Thank you :)

Olivier
3 years 10 months ago #53927

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

  • Posts: 2247
  • Thank you received: 223
Good to hear you got it sorted out. If you want my gauge layout, let me know.
3 years 10 months ago #53994

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

  • Posts: 50
  • Thank you received: 2
Hi,

Yes I want good. I like your gauge layout :)
And if you want to say me how to add the forcast page please

thanks
3 years 10 months ago #54029

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

  • Posts: 50
  • Thank you received: 2
@Gonzothegreat

Do you have receved my mail?

Thanks

Olivier
3 years 10 months ago #54417

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

  • Posts: 2247
  • Thank you received: 223


I've been away fro the forum, personal stuff to deal with.
My github repo for all the meteostation files github.com/Trigger-broom-289/indi-meteostation
3 years 9 months ago #56133

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

Time to create page: 1.372 seconds