Comments (7)
Yes this is a bug. It is missing the onesignal toggle. I will need to update and request a PR . Hopefully things like this will be less likely to happen since I can now work off the same branch and not need to copy over from a different one.
if('onesignal_enabled' in response):
if(response['onesignal_enabled'] == 'on'):
settings['onesignal']['enabled'] = True
else:
settings['onesignal']['enabled'] = False
As far as the app connecting that should work regardless of the onesignal setting in the server being on or off. You can toggle onesignal off and on via the app once connected as that will send raw json to enable/disable it.
If the app is not connecting it is something else. Is there any error when trying to connect? It should show why it cannot connect during the setup.
I just connected the app to my fresh install on my zero w sitting at my desk without any issue and toggled onesignal off and on from the app.
from pifire-android.
Ok, let me try again. Maybe I'm doing the sequence wrong. I had a red bar at the top of the screen when I first attempted to install, however I managed to enable OneSignal by editing the settings.json directly. Then it seemed the app was connecting, but now it seems to not be fetching data. No red bar this time. Anyway, I'll try again and see if I can get some screen captures.
from pifire-android.
Ok let me know what you find so we can get it up and working. The app does work without OneSignal as that is only for push notifications. If you download the non firebase version is does not even have the onesignal code at all.
The rest of the functions are all just done through json communication over websockets. The app supports https with both self signed and ca signed. If the server uses self signed then the cert has to be imported into the Android key store or the app will not trust it.
Http should work with an IP or a dns address.
from pifire-android.
Just tried the Firebase version of the app (was using the non-firebase version previously), and set it up using my old Nexus 6P, and it seems to be working fine now. The Nexus 7 tablet which I was initially using, actually hung when trying to use the QR code then shut down. :( I think that's just due to the fact that it's super old. Anyway, it seems to be working again. Thanks for the help!
from pifire-android.
Ok great!! I will check into the QR code scanning. I only have one Android tablet and it seemed to be working ok but sometimes cameras on tablets can act strange especially old ones.
from pifire-android.
Yep, and not to mention, I have lineage OS running on that tablet, so it's a mixed bag of what hardware works and what doesn't. The WiFi seems flaky too, which is likely the cause of the disconnects. Anyway, the Nexus 6P seems to be just fine, so I'll chalk it up to old hardware with sketchy OS.
from pifire-android.
from pifire-android.
Related Issues (2)
- Android 12 HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pifire-android.