Skip to main content

6 posts tagged with "ios"

View All Tags

Use Apple HomeKit to control cheap 433 MHz devices

· One min read

homebridge-telldus is a plugin for homebridge which allows you to control cheap 433MHz devices like wireless light switches and dimmers from Apple's Home integration. This is done through Telldus Live, which provides a free service and API integration for people who bought their devices like TellStick Net and TellStick ZNet Lite. It provides a very cheap way to control your house with Siri and Apple Home.

Personal Hotspot not working

· One min read

Personal Hotspot disappeared from settings on iPhone when using a new SIM card? Googled for a solution but I didn't find one. Seems that the problem was that the APN for personal hotspot wasn't configured.

Go to Settings -> Mobile Data -> Mobile Data Network Set the same settings under section Personal Hotspot as section Mobile Data

Getting XBMC to work with AirPlay on iOS7

· One min read

Since iOS 7 broke Airplay for XBMC, a guy figured out how to get it working again. It involves sending extra Bonjour publishes.

When building ffmpeg make sure to enable gnutls support (required for HTTP Live Streaming over HTTPS) Make sure that you have enabled airplay and avahi support (in gentoo, use flags airplay, avahi), and that you have libshairplay installed when building XBMC. https://github.com/juhovh/shairplay (gentoo ebuild here)

So the trick is to publish an extra airplay service with a different name after XBMC has published. For instance after 60 seconds:

avahi-publish -s "iXBMC" _airplay._tcp 36667 "deviceid=FF:FF:FF:FF:FF:FF" "features=0x77" "model=AppleTV3,2" "srcvers=101.28"

Replace FF:FF:FF:FF:FF:FF with your mac address

You can put it in .xinitrc or rc.local, like this:

(sleep 60 && avahi-publish -s "iXBMC" _airplay._tcp 36667 "deviceid=FF:FF:FF:FF:FF:FF" "features=0x77" "model=AppleTV3,2" "srcvers=101.28") &

Source: ermax @ xbmc forums

iOS Web App cache manifest + self-signed SSL problem

· One min read

So I am making a HTTPS HTML5 Web App, and I was having problems getting HTML5 Application Cache working on iOS when adding the App to home screen. In Chrome and Safari Mobile everything was working fine, but when i added the App to the Home Screen, NETWORK resources stopped working. After hours of de-hairing, I figured out that the problem was that I was using a self-signed SSL certificate. Since this is just an internal web app for controlling my home, I didn't want to pay for an SSL certificate for each of my subdomains, so I created my own CA-certificate. I linked this with my server SSL certificate for my web app server and added the CA certificate to my profiles on the iPhone. Now safari accepts my server SSL cert, and the Home Screen web app does too. Success!