Raspberry Pi Home Automation (HUB) - raspberry-pi

I have been experimenting with home home automation and want to turn my raspberry pi 3 into a hub not something my devices manually connect to e.g from the gpio pins. In many unsuccessful attempts I have tried OpenHab. I would like to mount a touchscreen with a GUI so I can e.g turn the lights on from this control panel instead of via phone or other hubs available like Google Home. If anyone knows how I might do this it will be much appreciated.

It seems like home-assistant with floorplan would work for this. It takes a little bit of configuring but well worth it.

Related

Control Google Home with Raspberry Pi

I have a Google Nest and a Raspberry Pi. I would like to be able to send commands from the Raspberry to the Google Nest. I have done some research and I have found ways to control the rpi with the Google Nest but not the other way around. Any clue would be helpful Thanks!
EDIT: I think Google Nest may not be the target but the google home app. In the end I want to be able to do something like this: rpi sends request => light device registered in my google home app opens/closes.
You can target the Google Nest using the Smart Device Management API.
However, there are currently only a few traits supported for controlling the Nest, specifically targeting the on-board camera.

Azure IoT Hub, connecting two devices and make them communicate

i am new to IoT and Azure but at the moment i want to connect a raspberry pi and the philips hue bulb to the IoT Hub. I already did this and i can communicate between the raspberry pi and the IoT Hub. I can send messages and store them in a Storage container.
But the biggest problem for me is to make the two devices communicate. My goal is that i send a message from the pi to the hub with a certain word, for example 'blue' and then the bulb changes its colour to blue. What is the best way to this? I really dont know how to proceed.
Help and advice would really be appreciated.
Greetings, Julian
Device to device communication is not available, hence you have to use IoT Hub as the broken between the two devices. There are a few ways to do this:
Use your Raspberry Pi as a controller by building a back-end application to control other devices. You can find a tutorial on how to control other devices here. You'd need to connect the Phillips hue bulb to IoT Hub as well.
Use your Raspberry Pi as an event triggering end-device, and use our integration features to route the command and then sends the command to Phillips hue bulb using Microsoft Flow.
Our reference architecture is documented here.

Connect(control) Kodi Between Rooms?

Hello I am trying to work out how to set kodi up on my smart TV. My main problem lies with the TV being on the wall in another room too far away from power sources. She has sky installed and that was situated in the other room and with a HDMI lead fed under to floorboards to the other room by a professional someone or other. I am unable to feed another HDMI lead along the line.
Is there a way I could connect kodi by some other means to the TV? I am not really up on these things.
At the moment I have the kodi box in another room and I have to switch the sky lead to the kodi box to use. Also this means you have to be in the other room.
Can anyone suggest a way for me to get kodi working on the tv and be able to operate it via remote control?
I use Kodi on all of my TVs through an amazon fire stick. Most smart TVs have a USB on the back of the TV that can power the fire stick while its plugged into the HDMI so you wouldn't have to worry about power. I have a Sony bravia that will control the fire stick as long as I am on the input the fire stick is plugged into so no need for an additional remote.
To start off this is the wrong place to ask. This is a Q and A platform for programming questions and coding related questions.
To give you an answer though because I'm not a dick the best way to do it would be using a NAS. You would have two Kodi boxes but one media store.
I'm not sure which device do you use.
In my case, I installed Kodi on my Raspberry Pi(RPi) and TV and RPi are connected with HDMI. My TV is Samsung SmartTV, which supports HDMI-CEC. So, RPI can get RCU Key input from TV.
(HDMI-CEC allows devices connected to your TV through HDMI ports to communicate back and forth with your TV. )
In addition, you can customize keymaps for remotes in GUI by using the community Keymap Editor add-on.
https://kodi.wiki/view/Keymap
Check your TV supports HDMI-CEC, first.

Do I need an OS for a RaspberryPi Game Console?

I want to create a game console with my Raspberry Pi and create my own game with an SD Card. Do I need an OS loaded with games or can I insert various SD Cards with different games?
In order to use the Raspberry Pi as a retro gaming console you will have to set it up. Go to the RetroPie Download page and choose the appropriate download for your version of your Raspberry Pi. The go to the RetroPi first installation page and follow the directions. After you complete that you will have to move your roms to the Raspberry pi into the /RetroPie/roms folder on the SD card. I use a Raspberry Pi for classic gaming and I love it.
I think there is some confusion here.
RetroPi IS technically the OS. You then "add" games to it.
If you want to create your own games then you have plenty of options.
You can technically create your own games and export them as NES games to be read by the NES emulator. This is very difficult and requires you to use tools that might be out of scope for beginners. The advantage is that you can put them in eprom chips and play them on an actual NES.
I would instead try to create a game using something like PyGame and play them on a RaspberryPi. Yo uwon't need RetroPi for something like this. Instead you'd need an OS like Raspbian
Yes definately. A raspberry pi without an operating system will not do anything. Its like asking a human to function without a brain. You should check out the retropie project. Its an operating system for the raspberry pi that lets you install roms and play the. You can even use controllers such as a ps3 controller.
Retropie
Head to RetroPie to download the image to your computer. Then, flash it on to the MicroSD with either Win32DiskImager on Windows or RPI-sd card builder on a Mac.
Have any other questions I can help with?

How much can I pack into this Raspberry Pi project?

I've seen a lot of projects, tutorials and how-to's on the web regarding the Raspberry Pi.
I've just received my first Pi in the mail, and I can't wait to get tinkering with it.
Of course, doing any of these things is going to be a difficult process, however, as my experience with the Pi is next to none, I wondered about the capabilities of what I want to do with my first major project.
I'd like to be able to build an on-board computer for my car. I've seen several projects regarding this, and I've seen some good guides online.
However, none that I have seen will do EVERYTHING that I can think of....
I'm assuming that my 8GB SD card will be limited to only a selection of these specifications, however, here's a list of what I'd like the solution to be capable of, and if anyone knows any reason why this isn't possible, please give me a heads up :)
So...
I'd like a front-end GUI (on a 7" touchscreen monitor) with a menu to navigate the options, which will include
From this menu, I'd like to be able to select (and of course, run) the following:
Media center (I've seen things like XBMC etc.) - I'd like this to be capable of taking over the radio unit and playign mp3's etc (possibly from my iphone!?)
GPS/SatNav - I don't know how possible this is and I assume i'd need a 3G card or something...
Reverse parking camera (stick a webcam in the rear view window) etc (I've seen good tutorials for this)
Connect my phone with a bluetooth thingy(?) so that I can add a USB mic and play the receiver audio through my speakers (acting as a hands free kit)
I'll add more ideas too...
I'm not questioning if each of these individual specifications are possible, I am asking if they are all possible through one solution as a whole, with a GUI to navigate through them?
Thanks for any help.
Cal.
It is all possible, all in one bundle. 8gb is more than enough for everything, it'll only limit your music collection. The only question is: how much work are you able/capable of doing. That will be the limiting factor, not your Pi.
Short answer is yes, all exist and the pi can handle it. But you'll be writing a lot of custom software to make them interoperate.