Read the statement by Michael Teeuw here.
Start or not...?
-
@Egnos: I think I made something like you want.
I started with the original Google AIY (https://aiyprojects.withgoogle.com/) and made it working (I have the V1 kit).
After that I installed MM on the same SD card.
GA and MM are working seperately.
So I cannot hide modules with GA, but I can ask a lot of questions and GA answers me in my own language.
I can set timers, ask for appointments in my agenda, turn on the gardenlights and the fountain in my garden pond.
I think it would be possible to set the temperature in the house if I had a smart thermostate (maybe next buy).
Playing songs on youtube or spotify: I did not get it working (I think you need the “real” Google home for that.I am really fond of my Magic Mirror: it turns on and of by a Pir, shows me a lot of personal information and if I say: “Hey Google, goodmorning” it answers: Good morning, Peter, the time is …, the temperature is … it is going to be a cold day, it is not busy on the road to your work, it will take you … minutes, have a nice day … (all in Dutch = my own language).
Finally I build the RPI, AIY with the original speaker and microphone at the back of an old monitor.
I did not use a mirrorglass because my mirror shows thousands of holidaypictures and behind a mirrorglass they were to hard to see clearly in my vision.
So I mounted a plate of clear glass in front of the monitor.If you need more information, you can mail me.
I hope this will help you with your project!
Peter -
@j-e-f-f Thank you so much for your advice.
@j-e-f-f said
@egnos having experimented with voice on my mirror in the past (I my case, Amazon Alexa) I can say with relative confidence that most, if not all, of what you want to do IS possible, but likely not out of the box. Most of the services you suggest would actually have nothing to do with MagicMirror, but can run along side on the same Pi. Be prepared to write some of your own integration to make things work in the way you want.
I have seen several modules that integrate into MM and could be right for me, for example:
-
Command the light in the house: mmm-openhabfloorplan.
-
View the cameras positioned at home: MMM-RTSPStream
-
Regulate the home temperature: MMM-Toon
I do not know how to connect Google Assistant to these modules.
Is it possible to set a sentence to execute a command?
For example: “Hey Google, set the temperature to 21 C °.” and the thermostat set the temperature at 21 C ° …@j-e-f-f said
Take a look at my module MMM-MyWink which monitors a wink hub for the status of door locks. While it was possible to also have the mirror accept a command to lock or unlock the doors, using Siri on my phone already did this.
Excellent module!
What kind of sensors did you use to install on the doors? Wireless (WiFI, …) or wired?
How did you display the open / closed door information on the MM? Do you have an example image?@j-e-f-f said
Try not to make your mirror a do-it-all device. The Pi is simply not up to that task. Also it’s a single point of failure when something goes wrong.
I’m looking for a device that does everything, an “all-in-one”.
In this way I would not have several devices scattered around the house…
Surely I will encounter difficulties, but I want to try … !!:winking_face:@Peter Thanks also to you for your testimony!
@peter said
So I cannot hide modules with GA, but I can ask a lot of questions and GA answers me in my own language.
I can set timers, ask for appointments in my agenda, turn on the gardenlights and the fountain in my garden pond.To turn on the lights in the garden did you use a module for the MM?
If so, how did you manage to connect the GA commands with the module?@peter said in Start or not...?:
I started with the original Google AIY (https://aiyprojects.withgoogle.com/) and made it working (I have the V1 kit).
Are you obliged to purchase the “Voice Kit (V1)” to use Google Assistant?
Thank you all!!!:winking_face:
-
-
Turning on the gardenlights and the fountain is done with a Sonoff 4ch pro.
A cheap smart switch.
You can add all kinds of smart stuff to GA (Philips hue, Ikea,etc).Second question; I think you do not need the Google AIY, but I experienced it to be very easy to setup.
And I bought it very cheap secondhand …
But it is possible to build it yourself (google is your friend).Peter
-
As a private-hobby developer, I don’t want to talk about my things by myself. So still yet I haven’t.
But MMM-AssistantMk2 has what you want as its feature.-
embedded GA(Google Assistant SDK for device) fully integrated in MM with nodejs.
-
custom commands available by transcription hooking, IFTTT and google Action for assistant.
-
it could control RPI, MM and modules by sending notification, executing external shell commands and calling module’s method directly.
-
screen output like Lenovo smart display, youtube playing, TTS and more…
-
But this is not the kinds of out-of-box things. installation and tweak might not be so easy if you are not experienced.
-
-
@egnos said in Start or not...?:
What kind of sensors did you use to install on the doors? Wireless (WiFI, …) or wired?
How did you display the open / closed door information on the MM? Do you have an example image?I used Schlage Connect locks which have a Z-Wave transceiver built-in for the doors, and the Chamberlain MyQ WiFi for the garage. Both integrate with the Wink hub. The Wink Hub sends out pubnub notifications when the state of connected devices changes. My module subscribes to the pubnub feed for the the Wink Hub and subsequently displays an icon depending on status.
Here’s a screenshot:
In it’s current status it only monitors doors (it was the only thing I found personally useful for display on my mirror). I had intended to extend this to monitor anything connected to the hub, but then I sold the house and all of the smart home gear with it when I moved to the UK. So I’ve ceased development on it.
@egnos said in Start or not...?:
Is it possible to set a sentence to execute a command?
For example: “Hey Google, set the temperature to 21 C °.” and the thermostat set the temperature at 21 C ° …Yes, but again, Magic Mirror is not doing any of the work here. Your voice assistant needs to have this integration into your smart thermostat. It doesn’t matter if you’re attempting to roll your own – say using GA to trigger Home Assistant to tap into Nest’s API – or are using an existing integration – say a Nest thermostat integrating with Apple Home Kit with Siri enabled. You could use a module to display feedback on the mirror in response to your voice command and another to report the current state of the thermostat – modules for both tasks exist in some form so they should be able to get you started.
-
@peter said in Start or not...?:
Turning on the gardenlights and the fountain is done with a Sonoff 4ch pro.
A cheap smart switch.
You can add all kinds of smart stuff to GA (Philips hue, Ikea,etc).Second question; I think you do not need the Google AIY, but I experienced it to be very easy to setup.
And I bought it very cheap secondhand …
But it is possible to build it yourself (google is your friend).Peter
Ok, thanks Peter!
In theory to start I would need:- Mini USB Microphone
- Bluetooth Speaker
- WiFi Router
- Patience…:winking_face:
after installing everything, I will need:
- Sonoff 4ch pro (to control lights, etc…)
- IP Camera
- Smart Thermostat (what do you think about this? MAX! Wall Thermostat+)
@sean said in Start or not...?:
As a private-hobby developer, I don’t want to talk about my things by myself. So still yet I haven’t.
But MMM-AssistantMk2 has what you want as its feature.-
embedded GA(Google Assistant SDK for device) fully integrated in MM with nodejs.
-
custom commands available by transcription hooking, IFTTT and google Action for assistant.
-
it could control RPI, MM and modules by sending notification, executing external shell commands and calling module’s method directly.
-
screen output like Lenovo smart display, youtube playing, TTS and more…
-
But this is not the kinds of out-of-box things. installation and tweak might not be so easy if you are not experienced.
Thank you so much Sean.
Spectacular module!
Have you already tested it?@j-e-f-f said in Start or not...?:
Both integrate with the Wink hub. The Wink Hub sends out pubnub notifications when the state of connected devices changes. My module subscribes to the pubnub feed for the the Wink Hub and subsequently displays an icon depending on status.
Ok, thanks j-e-f-f!
Your form is very interesting and I congratulate you!!
Sorry j-e-f-f…but I’m a noob :smiling_face_with_open_mouth_cold_sweat::
could you explain to me what is the use and how does it work the connection between Wink Hub and Pubnub?Question for all:
As a guide to get started …can i use this? Complete Setup Tutorial
Or are there better guides?Thank you all!
-
@egnos said in Start or not...?:
Sorry j-e-f-f…but I’m a noob :
could you explain to me what is the use and how does it work the connection between Wink Hub and Pubnub?No worries!
Wink Hub is a home automation appliance. It is meant as a single device to consolidate all your smart home devices into a single point of control. Here’s a link:
https://www.wink.com/products/wink-hub-2/PubNub is a notification system API that Wink uses to broadcast devices status updates to anything that wishes to consume them.
https://www.pubnub.com/ -
Ok, I understood.
@j-e-f-f said in Start or not...?:
PubNub is a notification system API that Wink uses to broadcast devices status updates to anything that wishes to consume them.
https://www.pubnub.com/Wrong or pubnub is a paid service?
Wink can only use Pubnub to send notifications or exist non-payment services?
Thanks -
@peter said in Start or not...?:
Turning on the gardenlights and the fountain is done with a Sonoff 4ch pro.
A cheap smart switch.
You can add all kinds of smart stuff to GA (Philips hue, Ikea,etc).Peter, how did you connect the GA item with the Sonoff?
Each Sonoff channel have an IP address? How does it work?Thanks
-
@Egnos: I think you should just start!
MM is a very funny project!
Buy a Raspberry Pi, SD card, find an old monitor, keyboard and mouse and go!
Burn an image on the SD card and try to get MM running.
You don’t need all the other stuff (you can add it later).
And I will give you some advice: after MM is working, save the config.js file (I saved it on a USB stick).
Then try to add or change a module; is it working: fine!
Is it not working: you still have the working config.js on the USB!About the Sonoff: you do not need a RPI or MM to maken the Sonoff working.
The Sonoff is hardwired with the gardenlights; it has 1 IP adress with 4 channels.
You can use your cellphone or a 433 Mhz remote to switch the channels.
But I find it more fun to say: “Hey Google, turn on the fountain …”Another advice: read, read, read, search, read and finally: ask here …
Peter