Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - 01ste02

Pages: [1]
1
Integration Ideas / Whole-home using Eventghost
« on: October 24, 2017, 09:20:42 AM »
Hi again!

I have been prototyping a new system for a couple of months now, and it has prooven to work really well.

Voxcommando is running on my mainframe, as well as on some nodes (Intel compute-sticks). Each node communicates with the mainframe via EventGhost, and the other way around. Eventghost is able to trigger Voxcommando-events in other rooms as well as on the mainframe (For example, I could tell the node in my bedroom to tell whoever is in the kitchen to turn the stove on by sending an utp command to the kitchen-node and eventghost on that node triggering a VC.Speak event with the payload of the eventghost-message).

The microphones on the nodes are really bad, but as I described in this (http://voxcommando.com/forum/index.php?topic=2777.0) post, I will be testing a couple of (hopefully) better microphones very soon.

This integration takes a bit more work than just running independent nodes, but I believe that this works a lot better as this method solves the issue of where the sound is coming from and where to send the response (if you were to stream audio to a mainframe) as well as the fact that it gives you to say "Turn on the lights" and it will just turn on the lights in the room that you are currently in (room-unique commands).

The system will, naturally, allow you to say "Turn on the lights in the hallway", and after it hears that the node in the hallway will receive a request to turn on the lights (if there is no node in that room then it will send the request to the mainframe, which is able to control the whole house).

Hope that I have inspired you as you always inspire me!

Oskar

2
Hi all,

I was browsing for a new whole-home mic setup and came across this (https://medium.com/snips-ai/benchmarking-microphone-arrays-respeaker-conexant-microsemi-acuedge-matrix-creator-minidsp-950de8876fda) article. It really helped me, and I thought that it might help someone else here...

In my eyes the PS3 Eye was the winner, especially regarding the low price-point (I will post a review once I get it).

Hope this helps you in our endless quest for total automation (or world-domination  :biglaugh)

Oskar

EDIT: The PS3 Eye costs about 7USD on Amazon https://www.amazon.com/dp/B0072I2240/?tag=stackoverfl08-20...

3
Integration Ideas / Fire alarm
« on: December 13, 2016, 06:51:20 PM »
Hello Forum!

I have since my last posts been quite busy with Vox and electronics... Today I thought that I would show off the work that I have done!

I have built a server cabinet (small repurposed IKEA cabinet  :biglaugh) containing 4 servers and a sh**load of other network hardware). I have a mail and web server in one, a backup and media server, a firewall machine and a dedicated server for games. Networking-wise I have an access-point, a 16 port POE switch, an network-attached KVM-switch and a Philips HUE Bridge.

This very cabinet also contains a Wiz-Web web server (old, found on a yard sale  :)) which has an old smoke detector and a couple of temperature sensors on the inputs. When the smoke detector is tripped (there is smoke in the top of the cabinet) or the temperature is too high either outside or inside the cabinet (70 degrees Celsius or more) the server triggers an event in Voxcommando.

The event then starts my Ispy and starts recording, sounds an alarm as it turns on my speakers and starts flashing the ceiling light in red while the rest of the power except for the Vox computer and the speakers is shut off.


Believe it or not this system actually "saved" me once! I had just finished this system, and was still wiring the last temperature sensors which run off a 12 V power supply. I left my room for a little while, and then suddenly the wires must have moved, because one of them had made a dead-short to ground through the chassis of my network switch and started arching and melting the insulation on the thin wire. The smoke detector was tripped, and so the alarm shut off the power. There was no fire, and was probably not going to be one but it was nice to know that the system worked  :biglaugh.

A video demo is coming in about 8 hours from me posting this because it is midnight for me right now.

I hope that you got some ideas on how to create a fire alarm using vox or that you were at least inspired in some other way!

Oskar

4
Integration Ideas / Raspberry Pi Nodes (for whole-home)
« on: October 08, 2016, 02:54:08 AM »
Hello again!

I just came to think about using Voice Meeter's buit in "VBAN" function to make a whole-home system. The VBAN system can be used to stream audio from and to a PC. When you send sound it sends the ID of the station sending, so that VOX could know where to send the response. Perhaps you could just send a command to the station to use its own TTS, and run one instance of VOX for every station...

I found this quite interesting given all the issues with whole home mics, mixerboards and so further...
This would perhaps not solve the issues with people talking to eachother and not VOX, but if you use voice-commands for the Station (very basic) to know when to send audio or just the built-in prefixes in VOX...

Have fun and DO NOT USE "KISS" (Keep It Simple Stupid)  :biglaugh

Oskar

5
XML Exchange / Alarms (Clocks and home alarms)
« on: March 02, 2016, 02:17:48 PM »
I just wanted to know, I am curious by nature  :biglaugh

6
Hello!

I have this problem where Vox is starting a python file without errors when I click the green arrow in command tree editor, but when I  start the macro by voice it gives me an access denied error.

I made a video about the error, because one picture can tell a thousand words (and with 60 fps and three minutes that is a lot of words  ;) ).

Here is the video link: https://youtu.be/GR8UhhNqK68

Here is the code from the first command that I showed in the video (the process of connecting is exactly the same here as in the second command that I show):
Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.0.9-->
<command id="440" name="StartHomeAutomation" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>Launch.RawParam</cmdType>
    <params>
      <param>D:\My files\Programs\EventGhost\EventGhost.exe</param>
      <param />
      <param>True</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>Launch.CMD</cmdType>
    <params>
      <param>sc start "TelldusService"</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>PY.ExecFile</cmdType>
    <params>
      <param>D:\My files\Documets\Dokument\PythonScripts\SendToggle.py</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <event>VC.Loaded</event>
  <event>System.Resume</event>
  <event>WakeupCall</event>
  <phrase>Connect to telldus</phrase>
</command>

Here is the "intestines"  :biglaugh of the second file which is the one that is supposed to connect to the Arduino:

Code: [Select]
import clr
clr.AddReference('System')
from System import *
serialPort = IO.Ports.SerialPort("COM3")
serialPort.BaudRate = 9600
serialPort.DataBits = 8
serialPort.Open()

def arduinoWrite(str):
    serialPort.Write(str)

def CloseSerial():
    serialPort.Close()


Thanks for your time and sorry for my bad pronunciation!

Oskar

7
Hi all!

I was wondering if I might get some help here, my skype won't call from VC.

I have connected it and followed jamesĀ“s tutorial on youtube, but all skype will call is:

(see attached image 1)

Full name: (attached image 2)

It calls different numbers every time and has done so for the last 6 months.

The payload xml is ok, all is set according to James tutorial.

Best regards

Oskar Stenberg

8
XML Exchange / My current setup/implementation
« on: January 06, 2016, 06:35:21 AM »
Hi! I just thought that I maybe should share my commands xml with all of you, so that someone maybe can get help from it :)!

I have many functionalities, one of witch is an alarm clock. You tell it to set the alarm to a specific time, in military time, and then it sets an event timer, and a map.

The map is there so that the computer can reboot, and the alarm will still go off, because it checks for any entries in the map when it loads. If there is any (clears when the alarm goes off) it sets a new event timer.

One other ting is my alarm system, I can arm both my room and the hallway outside. I use ir detectors to sense motion. My whole family has got their own codes, witch I can disable at any time, so that I can control who gets in or out.

It can speak (common topics), and it can tell one joke so far. I live in Sweden, so it is one of our Norwegian jokes ;).

I control my lights using a tellstick, and alarm using an arduino uno.

Some commands are in Swedish (Not phrases, Macro names), so sorry for that (Too lazy to translate).
And the Kodi commands is from someone else, I suspect it was James who did them (I don't use Kodi that often, so it was unnecessary to spend time on making commands for it).

Best regards

Oskar

9
"Open air" and "whole home" microphones / Microphone help
« on: December 29, 2015, 09:14:31 AM »
Hi!

Wow, first post here!  ;)

I need some help with a microphone, I am from Sweden (where electronics is extremely expensive) and I only have 66,05 CAD in budget (400 SEK), so do you think that this microphone http://www.kjell.com/se/sortiment/ljud-bild/pa-ljud-underhallning/mikrofoner-tillbehor/konferensmikrofon/konferensmikrofon-p24074 (run it thru translate ;) ) will pick up my voice and commands from 0-3 m (about 10 ft) away with enough confidence?

I have a pretty quiet house, so...

Thanks and excuse me for my eventually bad English!

Oskar

Pages: [1]