In my previous blogpost, the Sonoff worked, but was lacking a manual override. The switch could only be triggered by Domoticz. Since it also has a physical push button (connected to GPIO0 (D3)), it can be switched by hand. All that needs to be done is:
- Create a new switch device in the Sonoff
- Enable 'Rules' in the Tools / advanced settings
- Create a rule
- Change the On/Off commands in the switch parameters in Domoticz
The Sonoff TH16 is an inexpensive piece of hardware that can be controlled over WiFi. Apart from the switch (that's capable of handling electrical currents up to 16A) there's an interface for temperature and humidity. The actual temp/humid sensor is sold separately (in most cases).
This weekend went my Internet (VDLS) down. The DSL part was still up, but the IPv4 connectivity (over PPPoE) was down. When I checked the Fritzbox (7340) I saw that the DLS had 'trained' on ~100Mbps down and ~30Mbps up. Connection speeds I could only dream of......
Trying to re-establish the IPv4 connection I restarted the DSL modem. Upon reboot, it trained on about 70Mbps download and 30Mbps upload, and the PPPoE tunnel for IPv4 established nicely..... for about 5 minutes.
It turned out that the DSL connection tried to get a better connection, and got it. So starting off at 70Mbps, it could establish a 74Mbps a couple of seconds later, and 75Mbps a bit later after that, and so on, and so on. During this time the PPPoE connection worked like a charm. Until the DSL reached the magical 100Mbps rate. That's when the PPPoE (and the actual IPv4 connection to the Internet) failed.
Ever since the good-old Popcorn Hour died last year, we've been consuming our media through a Minix media player with XBMC, or Kodi as it's called since version 15. And even though this was a complete package (everything configured and pre-installed), it had a learning curve and required more maintenance than the Popcorn Hour.
A couple of weeks back, we started to experience cut-offs in the media we were consuming. TV shows, and movies stopped for no reason. The image froze, audio cut-out, and the subtitles would go on like nothing was wrong. After a few seconds display goes black, and after 5 to 10 seconds the Kodi-menu would present itself.
At this point we would select play, and the TV show, or movie would continue were it had stopped.
The stopping (or crashing) of the media could occur 1-10 times in a movie and a couple of times in a TV show. One or two times is already annoying, so you can imaging what 10 or 15 'crashes' might invoke....
I'm starting to experiment with the Raspberry Pi form several purposes. For one of my little projects (RTL-SDR Scanner) I need a little TFT screen on the Pi. So I bought the 3.5 inch PiTFT 480x320 Touchscreen.
Getting it to work was not as easy as the tutorial would like it to be. I tried the 'advanced' setup with the DIY Installer script first, but that didn't work at all. The screen stayed bright white. No console or desktop to be found. So after that I tried the easy install where I needed to download an image with all the stuff included.
This is gonna be a good one. An Apple Fanboy Going Android..... WTF!?
Yep, it's true to some extent. The reason for letting myself into the Android world is a media player one. Up till recent I was quite happy with my Popcorn Hour A-110, which I bought 6-7 years ago. Happiness started to fade when transfer speeds and connections to the device started to fail. Networking was never its strongest part, even though it had a 100mbps interface. For some reason it never got above the 10Mbps speeds. Had something to do with the processing priority of the device.
Anyway, lately, larger FTP transfers failed for whatever reason, and using SAMBA transfers.... well, don't get me started on that file transfer protocol. Sending communications by pigeon-mail is faster. And since streaming over the network was not an option for the larger (far less compressed) x264 encoded movies or TV shows, I started to look for an alternative.
The alternative should be able to connect to remote media sources, and have enough processing power for the network adapter to get decent a throughput. Also some additional multimedia features were on the 'very-nice-to-have' list. These features included (but were not limited to);
- stream various content from the web
- not limited to just video
- easily modifiable (apps etc.)
- prepared for the future (4k video?)
- xbmc (or something alike)
With this list of requirements, there were about a gazillion candidates, because every player out there tends to support this. So I needed to narrow down the candidates. I did exclude the current Popcorn Hour because of the physical size of there latest models.