Hi.
Is the NetAtmo plugin working as it should, or is it something wrong with it, now?
Can´t get the block NetAtmo Modules to work.
On my weatherpage it say "The live conditions file was not found. Make sure you have the NetAtmo plugin installed and using at least version 2.0".
Any ideas?
https://fjærvollan.no/template/indexDesktop.php
Netatmo plugin
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: Netatmo plugin
The netatmo block is looking for the file: plugins/netAtmo/netAtmoLive.txt
This file is generated by the netatmo plugin ( plugins/netAtmo/update/update.php )
Do you call this script to update your database?
This file is generated by the netatmo plugin ( plugins/netAtmo/update/update.php )
Do you call this script to update your database?
- tobydude
- Forecaster
- Posts: 192
- Joined: Sun Jan 07, 2018 6:43 pm
- Location: Norway
- Station model: Netatmo
- Software: Weatherdiaplay
- Contact:
Re: Netatmo plugin
Thanks for answering.
There is no netAtmoLive.txt in my plugins/netAtmo/ folder. There is only one .txt file: netAtmoVersion.txt
Is there other settings in the netatmo plugin I must set other than (see picture)
The commandline for the cron look like this:
php -q /home/fjrvofei/public_html/template/plugins/netAtmo/update/update.php?pass=xxx
There is no netAtmoLive.txt in my plugins/netAtmo/ folder. There is only one .txt file: netAtmoVersion.txt
Is there other settings in the netatmo plugin I must set other than (see picture)
The commandline for the cron look like this:
php -q /home/fjrvofei/public_html/template/plugins/netAtmo/update/update.php?pass=xxx
- tobydude
- Forecaster
- Posts: 192
- Joined: Sun Jan 07, 2018 6:43 pm
- Location: Norway
- Station model: Netatmo
- Software: Weatherdiaplay
- Contact:
Re: Netatmo plugin
When making a cron at cron-job.org, how will the command-line look like?
Will it look like something like this? :
https://xn--fjrvollan-h3a.no/template/p ... ?pass=xxxx or should there be something more there?
Will it look like something like this? :
https://xn--fjrvollan-h3a.no/template/p ... ?pass=xxxx or should there be something more there?
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: Netatmo plugin
Yes the cron job should be like the one you posted.
But there is a problem ( if I understand it correctly, not sure of this ).
You are now updating the meteotemplate database in 2 different ways:
1) via Weather Display ( like you did till now )
2) via the netatmo plugin ( via the cron job you added )
And this is 'too much' ( you should only enable one of the two )
You have now another ( bigger ) problem: your database is 'on strike' ( none of the block/pages that relay on data from the database is working )
Just before lunch I saw in your cache/apiLog.txt that the database update resulted in error, and that an 'alter table' was executed on the database ( which resulted in an error too ).
This reminds me what happened to another user on the forum ( he ended up modifying the api.php file, if I remember correctly )
I think you sholud first 'fix' this ( resetting/restarting the database or killing the processing that are locking it )
But there is a problem ( if I understand it correctly, not sure of this ).
You are now updating the meteotemplate database in 2 different ways:
1) via Weather Display ( like you did till now )
2) via the netatmo plugin ( via the cron job you added )
And this is 'too much' ( you should only enable one of the two )
You have now another ( bigger ) problem: your database is 'on strike' ( none of the block/pages that relay on data from the database is working )
Just before lunch I saw in your cache/apiLog.txt that the database update resulted in error, and that an 'alter table' was executed on the database ( which resulted in an error too ).
This reminds me what happened to another user on the forum ( he ended up modifying the api.php file, if I remember correctly )
I think you sholud first 'fix' this ( resetting/restarting the database or killing the processing that are locking it )
- tobydude
- Forecaster
- Posts: 192
- Joined: Sun Jan 07, 2018 6:43 pm
- Location: Norway
- Station model: Netatmo
- Software: Weatherdiaplay
- Contact:
Re: Netatmo plugin
Tanks for answer.
Thats right, I upload the clientraw.txt file from Weather Display to a different server than the Meteotemlate is on.
But Weather Display use the Metetemplate API to upload files.
In the main setup in Meteotemplate, the adress to MySQL Database server had changed. Dont know why.
That made the error.
Ir seems to work fine now. Thanks.
Thats right, I upload the clientraw.txt file from Weather Display to a different server than the Meteotemlate is on.
But Weather Display use the Metetemplate API to upload files.
In the main setup in Meteotemplate, the adress to MySQL Database server had changed. Dont know why.
That made the error.
Ir seems to work fine now. Thanks.
- tobydude
- Forecaster
- Posts: 192
- Joined: Sun Jan 07, 2018 6:43 pm
- Location: Norway
- Station model: Netatmo
- Software: Weatherdiaplay
- Contact:
Re: Netatmo plugin
I deleeted the cronjob and the netatmo module, and are now uploading just via netatmo api in WD.