Comments (17)
[deleted comment]
from webiopi.
[deleted comment]
from webiopi.
Tested with an iPhone 4 on iOS 6 and I cannot reproduce the bug
Original comment by [email protected]
on 10 Dec 2012 at 8:05
from webiopi.
I can confirm this. Tested with an iPhone 4S on iOS 6.1.
Original comment by [email protected]
on 12 Dec 2012 at 8:12
from webiopi.
I can also confirm there is a problem with iPhone 5 and iPad 3 running IOS 6.1.
However it works fine with iPhone 3G IOS 4.1.
It looks to me like a timing issue where an update of the pin state clashes
with the change pin state request from safari. The appearance is, you tap the
pin and it briefly changes colour then is reset within a second without
affecting the IO port.
Original comment by [email protected]
on 17 Dec 2012 at 5:22
from webiopi.
Need some javascript console error log.
Cannot reproduce it on my side :
Works on iPhone [email protected] and Safari 6.0.6
Original comment by [email protected]
on 20 Dec 2012 at 10:41
from webiopi.
iPhone 5 does not work. The pin states changes then rests to off with no action
taken.
Using Chrome on iPhone 5 the functions work correctly.
Original comment by [email protected]
on 4 Jan 2013 at 2:46
from webiopi.
Hi. This seems to be a Mobile-Safari-only bug. When you change a pin state it
goes back to what it was before.
I activated debugging and checked the mobile javascript console but there is no
error output.
Actually, checking the page requests from the inspector shows that the POST
requests with the new values are sent successfully and they even get a response
from the server with the new current value, as if it had changed. I mean, the
server is responding as if it changed the value, but in fact nothing happened.
However, on Chrome for iOS, as mentioned above, works fine.
My guess... Is there anything on the server-side, in the http code, that
verifies the agent from the POST requests? Because, if I am not mistaken,
Chrome for iOS uses Mobile Safari's engine to render the pages, so if it was a
Javascript problem, this would happen on both browsers.
Thanks!
Original comment by macecchi
on 11 Jan 2013 at 9:41
from webiopi.
If you got it working with other browser, this is not a server issue.
There is no agent filtering (not yet)
Do you have plugged something on the GPIO like a LED to see if the output has
changed ?
You may try to start webiopi in a teminal to see if there is error
to stop existing webiopi service :
sudo /etc/init.d/webiopi stop
then to start webiopi foreground :
sudo python -m webiopi
Original comment by [email protected]
on 11 Jan 2013 at 9:48
from webiopi.
I can confirm that this issue exists (running iPhone 5 ios6.0.2), would very
much appreciate if anyone could come up with a solution other than using chrome.
Im willing to help if need help testing or such.
Original comment by [email protected]
on 14 Jan 2013 at 11:41
from webiopi.
You may try to start webiopi in a teminal to see if there is error
to stop existing webiopi service :
sudo /etc/init.d/webiopi stop
then to start webiopi foreground :
sudo python -m webiopi
On my side it works fine on Safari Mobile with an iPhone 4 on iOS6.
I think I need an iPhone 5 to try it out...
Original comment by [email protected]
on 14 Jan 2013 at 4:58
from webiopi.
I tried running it in foreground but no messages shown in the log.
Original comment by [email protected]
on 14 Jan 2013 at 11:38
from webiopi.
I found this thread on SO that seems to be quite relevant to this issue.
http://stackoverflow.com/questions/12506897/is-safari-on-ios-6-caching-ajax-resu
lts
Original comment by [email protected]
on 26 Jan 2013 at 10:16
from webiopi.
Very nice post, thanks.
I just made some changes on the trunk to add the cache control header.
Can you checkout sources, install and give a try ?
Original comment by [email protected]
on 27 Jan 2013 at 12:52
from webiopi.
Original comment by [email protected]
on 27 Jan 2013 at 10:16
- Changed state: Started
from webiopi.
That seems to do the trick! The sample index.html works like a charm.
At first my own page didn't work but after resetting safari it's working aswell.
Thank you for a your fast feedback! great job with the project!
Original comment by [email protected]
on 27 Jan 2013 at 2:46
from webiopi.
thanks for feedback, I close the issue so.
the fix will be included in the next release.
Original comment by [email protected]
on 27 Jan 2013 at 2:55
- Changed state: Fixed
from webiopi.
Related Issues (20)
- Adafruit MCP9808 Temperature Sensor HOT 2
- PiFaceDigital driver has missing close() method
- Dont work on Raspberry 2 HOT 6
- Unable to grab Webiopi or to communicate the problem. HOT 1
- WebIOPi not working on Raspberry Pi 2 HOT 2
- NameError: global name 'GPIO' is not defined HOT 18
- Customzed HTML file is not loading HOT 1
- DAC MCP4921 HOT 1
- error 403
- Google Analytics enabled, not to be disabled (easily), not shown in documentation
- ~
- WebiOpi Tutorial_Basis don´t work for me
- rpi.gpio not working after installing webiopi HOT 2
- Saving matplotlib figure
- Webiopi is not working on Raspberry 2 HOT 1
- POST set function to PWM not working HOT 1
- Cannot install Webiopi on RPi 2
- Apache
- I cannot see all of the 40 raspberry pi pins on the Webiopi
- gpio boxes greyedout
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 webiopi.