I'm thinking about building a smart home, where i can Switch the lights on/off with my google home. I want to use a Raspberry Pi or similar, which is controlling a relais. I saw this video, where they show exactly this setup. They make it seem easy. Is there anywhere a tutorial, where they dig deeper in the matter? Or has anyone experience with this? Up to now i just used Dialogflow/Api.ai
I would love to be able to switch on my lights with the Google assistant.
Specifically in that video they are using the Smart Home integration. There is a sample of the setup flow in this GitHub repository
Related
I want to create a TAS that can play the Nintendo Switch games that are only compatible with the joy cons.
There are turbo pro controllers in the market but there is no turbo joy cons, so my next idea is one of two:
To use the Bluetooth to connect a devise that I could control with my PC and can be connected to the Nintendo switch via Bluetooth (or USB) and trick it into thinking that it is a joy con and not a pro controller.
Use the idea above but the devise is the joy con itself, in this case, I would have to connect the joy cont to the PC and command it while it is still paired with the Nintendo Switch
Is there any way to achieve what i'm looking for? Thanks in advise.
Also, if there is a better branch in stack-overflow to post this question I will move it.
Looks like it's already been done, and you'll need a product called vJoy.
https://www.pcgamesn.com/nintendo/nintendo-switch-joy-con-pc-guide
Looks like you'd need to reverse engineer the communication protocol used by those controllers and then emulate that protocol with software. Here is a resource I have found regarding RE bluetooth. Another one I have found here. Redfang may help you in that endeavor, it is software that helps you find bluetooth addresses of devices that you you can't discover normally.
Another idea I would have is to open your controller and solder on some wires to a micro controller, such as an Arduino, Raspberry or something similar to the buttons and analogue controllers and 'input' the commands that way.
Unfortunately I can not offer you any more advice. I hope this helps in some way.
One possible way is to use JoyCon Droid app in Android to controll the Nintendo Switch. If this app can work, it should be possible to make one as PC software too.
Luckily, there are a few easy ways to control Android from PC such as using AirDroid which allows you to touch the Android screen from PC. You can refer to How to remote control Android device from a computer with AirDroid?. It can both mirror the screen and give you the touchscreen control, which you can utilize it to control the JoyCon Droid app.
I've just found another way which is to use a microcontroller as a USB controller here.
First i am not really a coder more a musician.
Ableton Link comes more and more to our devices in apps but not in DAWs like Cubase, Bitwig, Logic, FL Studio, Cakewalk, etc.
So is it possible to grab the song tempo from a DAW and transmit it via the Ableton Link protocol over a VST plugin? Ok, mostly it is an one way synchronization. A VST plugin can't set the host tempo. But hey, for me its ok when my devices (iOS, Android apps with Ableton Link support) are in sync!
Hope it is clear what i mean and hoping here for a magic VST coder to realize my dream!
More Ableton Link on GitHub...
Yes, this is theoretically possible. There is nothing special about the Link framework to prevent it from being used in a VST. But as you noted, the host will be unable to accept tempo changes from the plugin. Maybe this is a limitation which is acceptable in certain use-cases.
Rather than pleading for a random magic VST coder to realize your dream, perhaps you should encourage the creators of your DAW of choice to integrate Link in their application. ;)
I want to make a simple multiplayer game with Game Maker Studio 2 for mobile platforms, but it should work locally (via wi-fi or bluetooth).
For e.g. this is a list of existing games and my game will be classified as (Bluetooth | WIFI Direct | Online).
I have some experience in programming and GML should not be a problem for me.
But I want to know for sure whether it is possible to implement Wi-Fi Direct and bluetooth communication?
Required answer those who have already done it. Any plug-ins required for this?
I do not want to reinvent the wheel and modify some libraries or broken code. I just need a 100% working solution.
Why Game Maker Studio 2? Because I want to make a game with my friend who doesn't have any programming skills. So, we need some game editor like Game Maker Studio 2 despite the fact that I have programming experience. And now my task - is to solve the problem with local multiplayer before we start to make a game. Maybe there are other editors that fit these requirements?
Gamemaker has some built-in functions to make a local multiplayer (I assume it is what you mean by "WiFi"). if you are familiar with UDP/TCP, it's a plus. They can be found here :
https://docs.yoyogames.com/source/dadiospice/002_reference/networking/index.html
I personally used them for a local multiplayer and it worked fine.
For the bluetooth, the devs are working on some functions, but I believe they didn't release them yet.
If you want to make a global multiplayer, you have to face a few tehnical issues (port forwarding, global matchmaking, etc.) I recommand GMnet, that comes in two flavors :
GMnet Punch if you simply want to communicate through a NAT with your own synchronisation strategy.
GMnet Engine if you don't want to worry about the details and let them do all the work for you.
The official website : https://gmnet-engine.org/engine/
Keep im mind that for a global matchmaking, you will probably need some kind of relay server, so that players can find the games hosted by other players. It is not that hard and GMnet comes with a java server program for this purpose, but it needs to be hosted on a server with direct internet access (no NAT).
Hope it was helpful !
Firstly, what I would like to achieve. I am building media system using Raspberry Pi device. So far there is mopidy service which as far as I know uses libspotify to play music from Spotify. Everything works really well. Except I would like to control my Raspberry Spotify playback from my desktop Spotify client or from my Android phone. Official clients do allow this feature to switch device.
I would like to implement same feature using libspotify.
I'm not even sure if it's possible using public API.
Any ideas how to achieve such thing are welcome.
Libspotify does not expose Spotify connect functionality. It's a limitation of the library and Spotify show no interest in improving it. So, this is not possible.
I've an app with AdMobs in Google Play but I have doubts.
PX DP converter is a simple tool for developers and designers.
Basically this application is for my learning.
PX DP Converter | Google Play
I have understood that if I use AdMobs I can't see or click on the advertising or google will ban my account.
I specified in "TestDevice" the emulator and id of my terminal, so I see a banner instead of advertising and the advertising appears in others smartphones, it works correctly. (sorry for my bad English)
My questions are ...
I have a couple of smartphones with different accounts.
Can I click on advertising using local wi-fi (home) without getting banned?
can i use the app with advertising without register my ID on "TestDevice" while I don't click?
I doubt that Admob is likely to ban you for a few test clicks on your development device. But they do have algorithms that track and detect aberrant clicks so if you abuse this they will catch and ban you.
Yes