Author Topic: Lightning - lightning_station_small.php - AS3935  (Read 487 times)

0 Members and 1 Guest are viewing this topic.

Offline michelinostreet

  • Member
  • *
  • Posts: 3
    • Michelino
Lightning - lightning_station_small.php - AS3935
« on: March 11, 2021, 11:25:09 AM »
Hi, I've recently kick-off https://michelinostreet.altervista.org. Everything works fine.
I've used a modified ./JsonData/NSRealtime.txt in block: lightning_boltek_small.php to show my Tesla powerwall data.
Now I'd like to show real lightning data from one AS3935 sensor in block: lightning_station_small.php. Which file is used by this block ? Is there an example of it ? Where I set the path of this file ?
Thanks to all for answers.
stefano

Offline michelinostreet

  • Member
  • *
  • Posts: 3
    • Michelino
Re: Lightning - lightning_station_small.php - AS3935 - SOLVED
« Reply #1 on: March 13, 2021, 03:50:13 AM »
I've finally found the needed file.
It's /jsondata/extra_sensors.txt.
Once you update data in this file from other sources ( i.e. AS3935 ) you can see them displayed in lightning_station_small.php. see image.

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1856
    • My PWS at Leuven Belgium Europe
Re: Lightning - lightning_station_small.php - AS3935
« Reply #2 on: March 13, 2021, 04:02:04 AM »
Hi, I've recently kick-off https://michelinostreet.altervista.org. Everything works fine.
I've used a modified ./JsonData/NSRealtime.txt in block: lightning_boltek_small.php to show my Tesla powerwall data.
Now I'd like to show real lightning data from one AS3935 sensor in block: lightning_station_small.php. Which file is used by this block ? Is there an example of it ? Where I set the path of this file ?
Thanks to all for answers.
stefano
Sorry, but I did not notice your question earlier.

For PWS_Dashboard there is a separate board on another forum with multiple topics and with a lot of knowledgable readers.
Your question would have been answered if posted somewhere in https://www.weather-watch.com/smf/index.php/board,77.0.html

Wim
Support for Leuven-Template & Scripts  at this forum via https://support.leuven-template.eu/
Support for the PWS_Dashboard  pwsdashboard.com