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 - IKROWNI

Pages: [1] 2 3 4
1
Other Plugins / RoboB.wait not working properly
« on: April 19, 2018, 06:44:56 PM »
Trying to make robob wait until after the page that is being navigated to has finished loading. But the rest of my commands try to go through before anything on the page has loaded at all.

2
Other Plugins / trim data being written to file.write
« on: April 18, 2018, 09:30:01 PM »
I'm trying to use robobrowser to scrape info from my electric provider and create a sensor that monitor my electric use and payment owed.

right now ive got it to write

Code: [Select]
<strong>Payment: $195.17</strong>
to the text file. How do i trim this part before it gets printed?

<strong>Payment: </strong>

All i want is $195.17 to be saved into the text file.

3
im using VC.TellVox to grab info from mqtt thats sent from home assistant.

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.4.1-->
<command id="533" name="mqtt decipher" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>VC.TellVox</cmdType>
    <params>
      <param>{2}</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <event>MQTT.Topic.HomeAssistant/</event>
  <event>MQTT.Topic.JAMES-PC/</event>
</command>





I wanted a quick way to switch between my cameras so im using roboB to navigate and login to my blue iris camera feed. So i made it so that when vox first loads up on my pc it gets logged in then hides the robo browser.

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.4.1-->
<command id="1388" name="Load Security Cameras" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>RoboB.Select</cmdType>
    <params>
      <param>Blue Iris Cameras</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>RoboB.Show</cmdType>
    <params />
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>RoboB.Navigate</cmdType>
    <params>
      <param>http://192.168.0.10:8087/jpegpull2.htm</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>RoboB.Wait</cmdType>
    <params />
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>RoboB.ElementByTag</cmdType>
    <params>
      <param>OPTION</param>
      <param>4</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>RoboB.Wait</cmdType>
    <params />
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>RoboB.Hide</cmdType>
    <params />
    <cmdRepeat>1</cmdRepeat>
  </action>
  <event>VC.Loaded</event>
</command>

After that i created a roboB.show and RoboB.hide

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.4.1-->
<command id="676" name="Show Cameras" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>RoboB.Show</cmdType>
    <params>
      <param>true</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>Window.Focus</cmdType>
    <params>
      <param>http://192.168.0.10:8087/jpegpull2.htm</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>Window.Maximize</cmdType>
    <params />
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>Front Door Motion</phrase>
  <phrase>Show Cameras</phrase>
</command>

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.4.1-->
<command id="436" name="Hide Cameras" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>RoboB.Hide</cmdType>
    <params />
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>Hide Cameras</phrase>
</command>

Now when i issue the command "alexa, turn cameras on" i get this in vox



I can see the event is going into vox and being recognized as "show Cameras" but i always get the error.

Hiding the roboB works just fine when i issue the command "alexa, turn cameras off".

4
Is there anyway i could use vox to send stuff like cpu temp, cpu usage, ram usage, gpu temp, gpu usage, fan speeds, hdd space to mqtt? I would love some of my windows stats to be available in home assistant so i can have graphs on my pc stats.

5
Feature Requests / Multiple MQTT topic subscriptions
« on: July 10, 2017, 06:05:35 PM »
The MQTT plugin works great but 1 downside is only being able to subscribe to 1 topic at a time. Could you add the ability to just keep adding as many as you want?

Thanks

6
i just recently bought a 2017 chevy cruze and they have a website that the car updates information about the vehicle stats. I was wanting to grab that information into a txt file to use for other things. Is vox capable of doing this and if so could you show me an example to get started?

EDIT: here is the site

https://my.chevrolet.com/ovd

7
Off Topic (not related to VC) / Windows 10 S With voxcommando
« on: May 08, 2017, 07:53:26 PM »
I'm not sure if I'm just not understanding how exactly windows 10 s works but from the looks of it we might be able to get windows 10 running on a raspberry pi 3.

I'm curious as if vox could work with this new OS? It says something about apps must be used from the app store only and that devs will have to use windows new tool to make their apps available on the windows store. But it also talks about buying a license for the OS and that possibly allowing you to use apps that don't come from the app store.

So what I'm thinking is we could possibly throw windows 10s onto a rpi3 add a mic and speaker. 3d print a nice little case and basically have something similar sized to an echo dot but running vc instead.

I've pretty much grown to hate Alexa. The mic picks up the voices with great quality but it lacks so far behind vc when it comes to the customizations I care about.

I know I would be okay dropping about $100 for a dedicated voxcommando hub. I would probably go as far as to put one in every room.

8
Bug Reports / MQTT Not reconnecting
« on: January 14, 2017, 06:19:57 PM »
I know its not so much a bug more than a slight irritant. When my mqtt server is restarted vox has to be manually reconnected by going into the plugin and clicking connect. Is there anyway for it to reconnect by itself when the server comes back up?

9
WAY Off Topic / Merry Christmas voxcommando friends
« on: December 25, 2016, 04:37:49 AM »
This community has been such a great gift year after year for such a long time I just wanted to say thank you very very much!

A huge thanks to James for the amazing software that has eaten hours and hours of my time and become one of my favorite hobbies.

The community here deserves a huge thank you as well. So many users here have poured hours of time into making tutorials and just generally helping out I would be nowhere in my endeavors without your help and support.

Merry Christmas everyone and happy new years!

10
I have home assistant on my raspberry pi with a few other home automation programs. I wish vox could run on it as well.But since that doesnt really seem like an option at this point i need to find another way to trigger events from home asistant on my raspberry pi to my voxcommando on my windows pc.

The whole reason for this is because as far as i know vox isnt compatible with the echo dot so i am using home assistant so that i can give alexa commands to turn various things on/off.

I've been tinkering with iftt and im kinda confused by how you guys go about getting ifttt to work with voxcommando. I see some people saying to use the maker channel, some saying to use the watcher plugin in vox, and other methods with dropbox.

If someone could help me with setting up ifttt to send messages from home assistant to vox to trigger events or if you know another way to have alexa find devices through vox and control them that would be even better.

Thanks as always guys

11
VoxCommando Basics and Core Features / Mailbox Logic
« on: September 24, 2016, 03:01:13 PM »
Just bought a zwave tilt sensor and plan to install it onto my mailbox. I want vox to tell me when the box was opened and shut as "delivered" when its the first time that sequence has happened. Then if the box opens and then closes again i want it to tell me that the mail was obtained.

This is what i have put together so far and vox writes the text file for a rainmeter skin to display (open/closed) but this isnt very helpful as to whether the mail was already obtained or not.

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.2.3-->
<command id="625" name="MailBox" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>Vera.Get.Status</cmdType>
    <params>
      <param>99</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <if ifBlockDisabled="False" ifNot="False">
    <ifType>(A)==(B)</ifType>
    <ifParams>{LastResult}&amp;&amp;1</ifParams>
    <then>
      <action>
        <cmdType>Results.Replace</cmdType>
        <params>
          <param>1</param>
          <param>Open</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
    </then>
    <else>
      <action>
        <cmdType>Results.Replace</cmdType>
        <params>
          <param>0</param>
          <param>Closed</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
    </else>
  </if>
  <action>
    <cmdType>File.Write</cmdType>
    <params>
      <param>C:\Users\theki\Documents\Rainmeter\Skins\Home Automation\_MISC_\MailBox\MailBox.txt</param>
      <param>BEGIN{LastResult}END</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <event>IKROWNI-VERA.Switch.99.Off</event>
  <event>IKROWNI-VERA.Switch.99.On</event>
</command>

12
Off Topic (not related to VC) / Animated Butler as jarvis possible?
« on: September 23, 2016, 05:02:19 PM »
Found this little animated butler.

http://www.biglots.com/product/36-animated-butler-with-serving-tray/p810247617?zcp=PD_PLA_Seasonal_Halloween_810247617&gclid=Cj0KEQjwpZO_BRDym6K_nMye7cEBEiQAVA7RaFDVLhEJzBfq3XA4QuOoTZslyXAIi2R0iLX_Oq3OtJkaApCo8P8HAQ

I'm curious if it would possible to have his mouth move with voxcommando? I'm not exactly sure how the butlers mouth moves to the words that are pre-programmed. Do you think its just opening and closing to certain input or is it setup with the voice to open and close at proper times?

I was thinking i would switch out the speaker for a better one if it didn't sound good. In the video the audio coming from it sounds pretty bad.

Anyways just a cool little side project i thought of when i saw one at biglots the other day.

13
Integration Ideas / My Rainmeter and voxcommando 3d virtual desktop ui
« on: September 17, 2016, 07:15:51 PM »
https://youtu.be/o_PsbFcVe18

Credit to xtermin8r for the idea of using rainmeter with vox.

14
VoxCommando Basics and Core Features / Desktop Widgets
« on: September 10, 2016, 06:13:13 PM »
I just created a 3d model of my home using a program called "sweet home 3d" I set the image of my house as the desktop background and now i would like to make some widgets using rainmeter and voxcommando to get like a live status of each device in my house.



In the image above i have the house set as desktop and on the right i have some status widgets i have made for the devices in the house using rainmeters webparsing plugin.

The problem is that these widgets will not autoupdate. So i need some way for my vera to send updates to voxcommando so that the widget will update.

here is an xml of one of the widgets

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.2.3-->
<command id="563" name="Living Room" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>Vera.Get.Status</cmdType>
    <params>
      <param>9</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <if ifBlockDisabled="False" ifNot="False">
    <ifType>(A)==(B)</ifType>
    <ifParams>{LastResult}&amp;&amp;1</ifParams>
    <then>
      <action>
        <cmdType>Results.Replace</cmdType>
        <params>
          <param>1</param>
          <param>On</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
    </then>
    <else>
      <action>
        <cmdType>Results.Replace</cmdType>
        <params>
          <param>0</param>
          <param>Off</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
    </else>
  </if>
  <action>
    <cmdType>File.Write</cmdType>
    <params>
      <param>C:\Users\theki\Documents\Rainmeter\Skins\Home Automation\Lights\Living Room\VoxLivingRoomLights.txt</param>
      <param>&lt;BEGIN&gt; {LastResult} &lt;END&gt;</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
</command>

Is what im trying to achieve possible?

15
I was just playing around with HomeAssistant and was trying to find a way to create a button in home assistant using the command_line component that will trigger an event i made for my x10 fan module. I'm receiving the event through the tcp webserver for voxcommando but i keep getting it over and over again from a different port each time. which just keeps turning it on and off over and over.

The switch i created looks like this obviously port and ip are my machines ip address and port is the port used for the webserver in voxcommando

switch:
  platform: command_line
  switches:
    fantoggle:
      oncmd: "/usr/bin/curl -X GET http://myipaddress:PORT/api/VC.TriggerEvent&&fan.toggle"
    mypc_off:
      offcmd: "/usr/bin/curl -X GET http://myipaddress:PORT/api/VC.TriggerEvent&&fan.toggle"

Is there something i'm doing wrong here?

heres a screenshot


Pages: [1] 2 3 4