Git Product home page Git Product logo

awair-uploader's Introduction

  • 👋 Hi, I’m @Sheherezadhe, interested in digital art & pencil board drawings, and anime
  • ❤️ Typescript and and exploring the world of React & Electron
  • 🙈 The never ending, ever changing & mostly breaking tsconfig combinations
  • 🌱 I’m currently learning flash and diving into more advanced react
  • 💞️ I’m looking to collaborate on scripting, coding, open source solutions.
  • 📫 You can usully find and contact me on reddit: https://www.reddit.com/user/Sheherezhade

awair-uploader's People

Contributors

mdragosv avatar sheherezadhe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

awair-uploader's Issues

Reverse logs output please

Just a quick request to call a reverse on the logs output data, so most recent is on top when displayed. It would make it much easier to ensure timestamps are updating as the current windows fills/scrolls after 6 hours (24 calls).

Thanks!

Installation error

Anyone got this error while installing the app? 'Installation has failed. There was an error while installing the application. Check the setup log for more information and contact the author' .. I have tried on windows 7 and 10 on my computer and it doesn't work.. if anyone can help

Suggestion

On the next update, can you add a version number on either the title bar, or the Help section please?
Secondly, can you add a page in the help file explaining some of the error messages? I am getting, "Error while sending data to PW servers of xxxx TOO MANY REQEUSTS - Data Ingestion"......OH, I have to add the token again....I did it. I will update on the situation.

I can't add the API code

Hi, I can't add the API code, I've tried it many times on 3 different computers in windows 10. I always get a 403 error. HELP THANK YOU

Question: won’t awair block us

If we all have a “pc” grabbing the awair data very often, won’t it mean Awair themselves will get swamped with requests and probably block us and planetwatch?

raspberry pi

please create CLI version which runs on PI zero

"npm: command not found" after "clone the repository" Intel Mac

After running:

git clone https://github.com/Sheherezadhe/awair-uploader.git
Cloning into 'awair-uploader'...
remote: Enumerating objects: 89, done.
remote: Counting objects: 100% (89/89), done.
remote: Compressing objects: 100% (68/68), done.
remote: Total 89 (delta 18), reused 85 (delta 17), pack-reused 0
Unpacking objects: 100% (89/89), done.

I get the error:

path-to-directory-example:awair-uploader user$ npm install
-bash: npm: command not found

And cannot proceed.

This is on an Intel MacOS running 10.11.6. I am new to GitHub. But a dedicated Awair Element user & would like to help the community. Thanks.

Docker Image

Would be good to build this into a docker image.

V2 also not working

Just installed version 2 of awair-uploader but the software is unable to connect to the awair website:

image

Only "Loading...." displayed on Mac

This is the screen I see:
Screen Shot 2022-04-01 at 20 56 01

I cloned the repo and executed npm install and later npm start

I'm Intel (MacBook Pro 15-inch, 2018) with macOS Monterrey (version 12.2.1)

Cannon add sensor on Apple m1

I searched my sensor with the token, it comes out with his name, I then click "add your token", but nothing happens. I suppose that I should see my sensor in the list at the bottom, but it remains empty.

Version Number in title of software

Not so much a problem, but is it possible to put the version number in the software title banner with the name, or on an About pulldown? As version 2 looks identical to V1 and was confused about which I was running.

Thanks.

this is killing my GPU mining

I imagined I will use my Windows mining PC to run Awair Uploader, logically.
But it kills mining, not sure if the problem is MSIafterBurner or T-rex miner, on nVidia driver
This is a win10 pc, RTX3060 card, mining ETH on t-rex miner. I have already seen at least one other person complaining about this

Raspberry Pi

Is it possible to run this on Raspberry Pi?

Thank you!

error installin g on a windows PC

Hi girls and guys,
I am very new to this here, but I am a planetWatcher and I have troublem installing the uploader on my WIN PC. I get this message.
"There was an error while installing the application. Check the sutup log for more information and contact the author"
When I klick on "open Setup Log" nothing happens.
Hope for help from some Planetwatcher, who alreasy installed it!
Thanks

Error while getting the devices of this jwt

Hi Sheherazadhe,

first of all: thanks for your efforts!

The tool does not work for me, though. I could sign in and then got a screen showing my two devices under "Availabe PW Sensors", but I can't add a token due to: "Error while getting the devices of this jwt: Request failed with status code 403"

I believe 403 is "forbidden"?

Any help would be greatly appreciated.

Thanks
Thomas

Data Ingestion error on V2

after installing V2, I get the same error on all awairs

[15:48:18] - Error while sending data to PW servers of 29247 TOO MANY REQUESTS - Data Ingestion

Idea: command that receives the parameters on command line/config file

It might be a good idea to create a command that just receives the information through parameters or config file, isn't it?

Something like: awair-uploader --user=xxx --password=yyy --token=zzz which just grab all the sensors and starts the upload of streams.

Some problem that you envision for that?

Add sensor, returns an error

Error states, "Error while getting the devices of this jwt: Request failed with status code 403."
Unable to see any token, so can add token.
Capture

cookie issue?

image

when i click search after putting in the api, i get some kind of cookie error and can't add the sensors, tried 3 pc's. All the same error.

multi instance app or multi accounts for the windows app

Hello there,
Thank you for the hard work made until now.. App worked fine from first try and everything is working fine.. just wanted to ask if the windows app can be made multi instance or can u add more planet watch accounts as we are more friends that have sensors and would like to use a single PC for all our accounts.. Could this be made?

Sensor Status & Logs empty since restarting the app (after 24hrs)

Hi there,
Slightly different issue here for me; since the 24hrs are up i'm now experiencing a slightly different issue - once I restart the app and sign back in again (reauth) absolutely no streams get sent and sensor status pane remains totally empty (not showing my sensors) as does the logs pane.
No amount of force refresh or app restarts have helped for now.

error when add sensor token

When adding sensor token error occur:

"Error while getting the devices of this jwt:
Request failed with status code 403"

V2 App stops sending data after having it run for a day

It seems like the fix that the dev implemented in v2 does not work. I had the v2 app running from yesterday and it just stopped sending data to PW by itself. I had to exit out the app completely, relaunched, login again to have it back to running

I noticed that when the app stops sending data, the Logout button at the bottom right has disappeared as well.

I'm using Windows 10

Hope it helps. Thanks

Instructions

Really appreciate all the work going into this. There's a real need for some instructions that can be followed by the average human. I work in tech, have done scripting and packaging in the past but never used GitHub and i cannot follow these instructions at all. "clone the project" "Run the app". 98% of people will not be able to decode this. Can someone make some instructions for the rest of us? step by step, click this, copy this filename to this place, etc. If i had the knowledge i would be on it but unfortunately even i cannot figure it out. I'm sure the code is incredible but if no one can use it the impact is significantly reduced. I also second the shout for the docker image!! Keep up the great work@!

"Add your token" button NOT WORKING

At first, thank you for this effort.
There is a problem with the "Add your token" button.
Everything works until I reach the stage of pressing the "Add your token" button, nothing happens and the devices are not added to the List of added sensors.

My operating system is Windows 11

Is anyone facing the same problem?

running under linux error

Installed normal, but after start, got error message:

user@:~/awair-uploader-1.0$ sudo npm start

[email protected] start
electron-forge start

✔ Checking your system
✔ Locating Application
✔ Preparing native dependencies
✔ Compiling Main Process Code
✔ Launch Dev Servers
✔ Compiling Preload Scripts
✔ Launching Application

Webpack Output Available: http://localhost:9000

⠧ Compiling Renderer Codeuser@:~/awair-uploader-1.0$ (node:9014) UnhandledPromiseRejectionWarning: RpcIpcMessagePortClosedError: Cannot send the message - the message port has been closed for the process 9014.
at /home/user/awair-uploader-1.0/node_modules/fork-ts-checker-webpack-plugin/lib/rpc/rpc-ipc/RpcIpcMessagePort.js:47:47
at processTicksAndRejections (internal/process/task_queues.js:83:21)
(node:9014) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:9014) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

dark mode

If possible to make the app for a dark mode too? Thanks

No change after pressing add token

Once the button is pressed to add the token there is no change. Nothing updates, if I manually update the page it doesn't show up I have to search for the sensor again. It shows 4 sensors but doesn't add them on.

Error - Too Many Requests

Error while sending data to PW servers of XXXXX TOO MANY REQUESTS - Mail

Utilizing V2, getting this error very frequently now. I've tried reload, force reload, logout and log back in, still occurs very frequently.

If it matters, I'm running 40 Awair accounts with a combined 48 sensors. Unclear if this issue is actually impacting my data streams to PlanetWatch, won't know until I see my rewards tomorrow I guess.

image

Ubuntu - Elctron-forge

Hi,

I use Ubuntu 20.04.4.
After intalling git, npm, nodejs and grab your project, i have this error :

image

Do you have an idea ?

Question: can we use an Aws EC2 instance?

Does the “pc” have to be on the local network?

can we run a “free” AWS EC2 instance with Linux and it will poll the awair element and then forward the data to PW?

could we run one aws server and many people use it for forwarding their awair data? We can run separate Docker Containers if needed.

Content Security Policy includes test in Wearable API URL

The current CSP in package.json (line 54) is set to:

"devContentSecurityPolicy": "connect-src 'self' http://wearableapi.test.planetwatch.io http://login.planetwatch.io https://developer-apis.awair.is 'unsafe-eval'",

Need to remove "test" from the Wearable API in order to get my sensors (at least for me).

"devContentSecurityPolicy": "connect-src 'self' http://wearableapi.planetwatch.io http://login.planetwatch.io https://developer-apis.awair.is 'unsafe-eval'",

I tried to create a PR but kept getting 403s from github on the git push.

After 24 hours app stops submitting to PW, must be restarted

Still gets data from Awair (and logs as much) but does not push to PW. Current theory is lack of oauth authentication refreshed. If you restart the app and log in to PW, it will work.

Perhaps logging the push to PW as well would help show when there is a failure on that side of thing?

Please Help! sensor not available after deleting sensors

I made a mistake by deleting my sensors, logging out, deleted and re installed V2, now when i log in I do Not see my sensors listed which i did before under Available PW Sensors, i can type my key in, i see a list of sensors in my token but wont let me add my token, how do i fix this! please help.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.