Open pgpaolo opened 3 years ago
Hi @pgpaolo For deprecated components that's normal it's quite an old app now :) What version of nodejs do you use ? And where do you received this error ? When launching the app ?
I started this project with latest packages / libs
Hi @pgpaolo For deprecated components that's normal it's quite an old app now :) What version of nodejs do you use ? And where do you received this error ? When launching the app ?
I started this project with latest packages / libs
Hi, @norecords My version of NODS is 14.16.1 and NPM 6.14.12 IONIC 5.4.16
The error occurs when i launch the command IONIC -SERVE In the console error is "failed to load index.html" and error [apps-script] In the browser (localhost:8100) blank page whit written "try again later"
what do you mean by latest packages / libs?
Thank :)
Could you try with NodeJs v12.13.0 LTS and give me a screenshot. This app is published on the App Store but can't be use to compile new app because of Cordova issues and now use Capacitor, but you can still use it as a Web app or compile apk and make it available online to download.
Could you try with NodeJs v12.13.0 LTS and give me a screenshot. This app is published on the App Store but can't be use to compile new app because of Cordova issues and now use Capacitor, but you can still use it as a Web app or compile apk and make it available online to download.
Works !!! Uninstall node 14.16.1 x64 to install v12.13.0 LTS x86 I launched the following commands ionic repair to restore Dependencies ionic build ionic serve to demostration
Thanks thanks thanks :)
and to change the points to my mqtt how can I do?
:)
You have to change this values for MQTT Websocket https://github.com/norecords/meteo-correns/blob/147da6809558fad21b80649841c83d97b2dce1be/src/app/app.module.ts#L17-L22 and here for the topic subscription https://github.com/norecords/meteo-correns/blob/147da6809558fad21b80649841c83d97b2dce1be/src/pages/home/home.ts#L288 You will have to generate json files that fit the app or modify the api provider calls and adapt the app to your needs.
You have to change this values for MQTT Websocket https://github.com/norecords/meteo-correns/blob/147da6809558fad21b80649841c83d97b2dce1be/src/app/app.module.ts#L17-L22
and here for the topic subscription https://github.com/norecords/meteo-correns/blob/147da6809558fad21b80649841c83d97b2dce1be/src/pages/home/home.ts#L288
You will have to generate json files that fit the app or modify the api provider calls and adapt the app to your needs.
Hi, @norecords very very good everything works, I had to change my mqtt path. It remains only to manage the data history, you use https://................/api/v1/app.php?q=weewxdata How does work? thank you for your help GP
Hi, @norecords
Hi, I ask you for help with the php/rest I can't get it to work can you tell me something like what you did?
Thanks :)
@pgpaolo try directly with your belchertown's json files ;) My php script is just a proxy to provide json on the app mixed with stuff I needed. You should normally see your data and charts, but you will need to make your own almanac and forecast json. Either you modify the json output from weewx to fit my app or modifiy the app to fit your json files.
@pgpaolo try directly with your belchertown's json files ;) My php script is just a proxy to provide json on the app mixed with stuff I needed. You should normally see your data and charts, but you will need to make your own almanac and forecast json. Either you modify the json output from weewx to fit my app or modifiy the app to fit your json files.
@norecords I'm sorry it doesn't work directly I've been trying for 2 days. I have no more ideas.
my track is the default one but pointing directly the app crashes
:(
@pgpaolo If you don't give any console logs nor screenshots, I can't help you. Try one by one and start with charts json files. The json files must be on the same domain where you launch the app or you must allow CORS where the are hosted.
@pgpaolo If you don't give any console logs nor screenshots, I can't help you. Try one by one and start with charts json files. The json files must be on the same domain where you launch the app or you must allow CORS where the are hosted.
Hello , i am trying to directly import the json data of the graphs. https://meteostz05013.ddns.net/weewx/belchertown/json/day.json > api.ts
This error is reported on any database
Thx :) GP
This is because of CORS, you have to allow your httpd (apache2, nginx, ...) to access these files for everyone.
Hi :) I tried your app I receive error "try agian later". Can you help me? I'm using the latest ionic, npm compiler and there are many deprecated components.
thank you for your help
GP