Comments (7)
Not sure if it's the same, but I had the same problem. The esp8266 calls this url:
https://gweb-paper-signals.firebaseio.com/signals/your-signalid-here.json
if your unique id is wrong, then it just returns null, instead of a valid json object so you then get the parseObject() error in the debug log.
Does
https://gweb-paper-signals.firebaseio.com/signals/politely-appellate-hippopotamus.json
return valid json data if you check it in a browser or just say null?
Nevermind, I checked it with your id in the browser and it does return data. Must be something else then
from paper-signals.
@mintisan Does the system spend a long time at the "connecting to gweb-paper-signals.firebaseio.com" or does it seem to immediately fail?
When you're connected to your phone hotspot with another computer are you able to see the JSON data from: https://gweb-paper-signals.firebaseio.com/signals/politely-appellate-hippopotamus.json
I'm not totally familiar with Shadowsocks. But your setup looks good to me so far.
As @tomvdb noted above, there is definitely data at your signal ID URL.
from paper-signals.
@tomvdb Yes, I can open URL on my iPhone which acted as proxy.
And I will check its return value on ESP8266 with UART log.
Thanks.
from paper-signals.
@tomvdb @dfashbaugh Maybe I find the reason why I can't access URL for ESP8266.( I can open URL on my iPhone.)
So the proxy configuration need to be modified for hotspot.
I will have a try firstly ...
Thanks so much, @tomvdb @dfashbaugh
from paper-signals.
Perhaps It can't connect to console.firebase.google.com
while using your hotspot. Although you can open the URL on your phone which acted as the proxy when you share your hotspot.
from paper-signals.
After I changed the configuration. It works for me now. :D
P address: 172.24.1.23
connecting to gweb-paper-signals.firebaseio.com
requesting URL /signals/politely-appellate-hippopotamus.json
request sent
HTTP/1.1 200 OK
Server: nginx
Date: Sat, 09 Dec 2017 07:39:41 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 503
Connection: close
Access-Control-Allow-Origin: *
Cache-Control: no-cache
Strict-Transport-Security: max-age=31556926; includeSubDomains; preload
headers received
Timer: 30
from paper-signals.
Glad it's working @mintisan! I'd recommend deleting this signal and creating a new one with a new unique ID for security reasons. :)
from paper-signals.
Related Issues (20)
- Unable to compile code HOT 3
- Countdown time, only counting down seconds HOT 3
- Three word identifier from Google Assistant HOT 28
- typo in countdown instructions
- Connection Close
- Alternate Hardware HOT 2
- Upload error on Nodemcu ESP 8266 HOT 3
- DynamicJsonBuffer Issue HOT 2
- Particle Photon Support
- HTTPS API not working with 301
- Paper-Signals Google assistant
- Connecting to gweb-paper-signals.firebaseio.com Connection failed HOT 3
- Paper signal in germany?
- Does this still work? HOT 5
- Countdown for undefined undefined
- How were paper templates and illustrations generated?
- Servo arm not moving HOT 2
- Signals not communicating HOT 6
- Not sure that this works anymore
- Google Assistant not recognizing command "talk to paper signals" HOT 1
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 paper-signals.