TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. tuicemen
    • Profile
    • Following 1
    • Followers 2
    • Topics 18
    • Posts 140
    • Best 15
    • Controversial 1
    • Groups 2

    tuicemen

    @tuicemen

    15
    Reputation
    52
    Profile views
    140
    Posts
    2
    Followers
    1
    Following
    Joined Last Online
    Location Toronto Canada Age 64

    tuicemen Unfollow Follow
    Global Moderator administrators

    Best posts made by tuicemen

    • RE: X10 devices with Alexa TRIGGERcmd Smart Home skill

      I realize this is an old thread but it needs to be pointed out that this is not the only way to control X10 from TRIGGERcmd.
      The software "X10commander" is a third party software built using the X10 SDK sample program AHCMD which uses the x10 driver (dll). You can directly call this Windows sample program with TRIGGERcmd or use 1 of many other programs that use AHCMD, the x10 driver or their own drivers.

      I have nothing against X10commander so please don't take my comments as such. Originaly AHCMD was only in the AHP SDK but later included with the ActiveHomePro (AHP)x10 software. It was only intended to use for simple single command sends and to help debug AHP. Pushing to many commands in a row to AHCMD can cause it to behave erratic or even lock up. If you intend to use AHCMD please besure to use the one that came with AHP 3.318 as it will be the most stable.

      posted in Alexa
      tuicemenT
      tuicemen
    • RE: Is it possible to have more then one parameter?

      @russ Thanks, I found my error, the line in the commands.json file was correct.
      I was putting in the wrong X10 address for my test thus it was turning on/off a light in the basement not my test light.

      posted in Raspberry Pi
      tuicemenT
      tuicemen
    • RE: shutdown pc not working Plsss

      @mevlüt-bora there are several reasons a windows PC will refuse to shut down A failed update is usually the reason. However here are a few things you can try. https://www.minitool.com/backup-tips/windows-10-wont-shut-down.html

      posted in Windows
      tuicemenT
      tuicemen
    • Voice controlling X10 Pan&Tilt WiFi Cameras

      I've been controlling my Pan& Tilt cameras via a variety of different apps for decades even before WiFi Cameras were available.
      Most of these were X10 cameras and some fosscams. I've moved away from my old wired and RF wireless X10 cameras and now use HD X10 wifi cameras and still some older fosscam low def wifi cameras.
      I prefer the Pan & tilt cameras over the stationary ones as you get a much larger coverage area.
      I currently have my cameras pan to a door or window when they are opened via HomeGenie. The cool factor of doing it via Alexa voice was achieved via HA-Bridge but for google it wasn't. With TRIGGERcms Smarthome I now believe I can do this via Alexa & or Google which adds a bigger cool factor.

      Most any IP Cammera can do this provided you can get your hands on the control protocols.
      Luckily I have these for the X10 XX70A HD Airsight & X10 XX69A HD Airsight
      To turn one to a preset is a simple url api call for the
      XX70A
      X10 still sells this and is in stock last time I checked.
      Preset 1 calls are simple and would look like:

      IP&port/cgi-bin/decoder_control.cgi?&type=2&cmd=0&user=******&pwd=*****
      

      Naturaly you change the IP&port to that of the camera and change the user and pwd.
      For preset 2 you'd change the cm=0 to cmd=1
      For preset 3 you'd change the cm=0 to cmd=2 and so on
      The XX69A uses the same api calls not sure if it is out of stock or no longer available.

      I do have a couple older Pan&tilt foss & easyn cams and the preset codes for them but the model numbers I'm not sure of till I can get up to look at them.

      posted in Example Commands x10 homegenie
      tuicemenT
      tuicemen
    • RE: Feedback on triggers

      @russ, I did know the smarthome skill wouldn't work for this. But didn't realize I could have Alexa or Google respond to a script ran manualy with a TRIGGERcmd call inside to enable a voice responce. This is cool and has me thinking of some new Ideas.

      posted in Linux
      tuicemenT
      tuicemen
    • RE: HomeGenie X10 control with single bash script

      @russ the cool thing is, like TRIGGERcmd it can be used on a variety of OSs, Mac, Windows, Linux, Raspi

      posted in Raspberry Pi
      tuicemenT
      tuicemen
    • RE: Intermittent results

      @karnold69 Windows updates in particular Driver updates are a issue for X10 If driver updating is not disabled. Windows will install the newest X10 driver which is not compatible with the USB driver for AHPSDK.exe that x10 commander uses. The fix for this is to reinstall the x10 driver found on your PC If I remember their in program files/common files/X10/drivers.

      posted in General Discussion
      tuicemenT
      tuicemen
    • RE: Feedback on triggers

      @tal-sabadia, there is a way to get a simple "failed" or "succeeded" voice response for a long script run or a script that you trigger manually.

      • 1: It requires creating two TRIGGER.cmd dummy scripts (dummy1 & dummy2) that simply echo "OK" when ran from command line.
      • 2: At the end of the backup script have them triggered (using the tcmd tool found here https://www.triggercmd.com/forum/topic/196/tcmd-go-command-line-tool-is-available-now) based 1 on a fail and other on a succeed result.
      • 3: In Alexa routines create two, one for dummy1 that Alexa says something like, "Trigger C M D reports script succeeded"
        The other for dummy2 that Alexa says something like, "Trigger C M D reports script failed"

      This way you can use the same routines and dummy scripts for several different long running scripts and even for scripts that aren't started by TRIGGERcmd

      posted in Linux
      tuicemenT
      tuicemen
    • RE: HomeGenie X10 control with single bash script

      @Russ , seems Alexa and Google send lower case on/off commands and HomeGenie requires the commands to start with upper case. I'm not sure why with using just 1 parameter this seems to work but with 3 parameters it doesn't

      In any case I've got a work around for this in the Bash script which I edited to look like this now

      #!/bin/bash
      foo=$(echo "${3}" | awk '{$1=toupper(substr($1,0,1))substr($1,2)}1')
      echo Sent HomeGenie the $1 command $2 to turn $foo >> /home/pi/scripts/HGsents.txt
      echo "Sending HomeGenie the $1 command $2 to turn $foo"
      
      curl http://192.168.0.24:8084/api/HomeAutomation.$1/$2/Control.$foo
      

      next I'll start to play with adding dim commands but not sure if TRIGGERcmd will process them from Alexa/Google

      posted in Raspberry Pi
      tuicemenT
      tuicemen
    • RE: Command format on Raspi

      @steve-porter here is the script : X10.sh
      you can test in in the command line by typing sh X10.sh i6 on
      to turn your fan off simply change the on to off

      posted in Raspberry Pi
      tuicemenT
      tuicemen

    Latest posts made by tuicemen

    • RE: Intermittent results

      @karnold69 I stopped using windows for my X10 control some time ago. But prior to that I know I had disabled windows driver updates and that solved issues with windows updates for me.
      Another option is to use software for X10 that doesn't use X10WTI CM15A drivers.
      Things that use Mochad or Mochad itself, or HomeGenie that has it's own drivers(which I use)

      posted in General Discussion
      tuicemenT
      tuicemen
    • RE: Intermittent results

      @karnold69 Windows updates in particular Driver updates are a issue for X10 If driver updating is not disabled. Windows will install the newest X10 driver which is not compatible with the USB driver for AHPSDK.exe that x10 commander uses. The fix for this is to reinstall the x10 driver found on your PC If I remember their in program files/common files/X10/drivers.

      posted in General Discussion
      tuicemenT
      tuicemen
    • RE: Alexa responsive routine

      @Russ , I did a bit more playing with routines and follow up mode. You can't run another routine after one or activate a device after with out saying Alexa first, but you can run a routine after a device trigger.
      If in a routine you add a say command asking "do you wish anything else?" then you can say "yes, Alexa, run....." or "no, Alexa, thank you" and she will respond to both. Doing this you could make it seem more like Alexa is interacting.

      posted in General Discussion
      tuicemenT
      tuicemen
    • RE: Alexa responsive routine

      @Russ, it is true Alexa routines aren't interactive as @Paulo-Vinicius wants however it is possible to make it seem as though they are by adding Alexa says " is there anything else I can do?" at the end of a routine.
      Unfortunately follow up mode doesn't work with routines yet☹

      posted in General Discussion
      tuicemenT
      tuicemen
    • RE: Alexa responsive routine

      @Paulo-Vinicius it is possible to do something like this.
      First you need to enable follow up mode for each Alexa device you speak to. With this enabled you can have Alexa trigger another device after the first one without having to say Alexa first.(this has a time out so you must say your next request before the time runs out.

      You'd then need to create a trigger CMD command that opens archive 665 on your pc and responds with "I found this"

      Then create a routine call search1 the trigger would be when you say "Alexa search my pc for archive 665" under Add action add the smarthome device that runs the Trigger CMD archive 665 device.

      This is just the basics but youd need to have trigger CMD devices for each folder you'd like to open.
      You could also create a script that open a variable (folder) as Russ suggests

      posted in General Discussion
      tuicemenT
      tuicemen
    • RE: Skip the "Alexa, ask TriggerCmd" command?

      @Dimo-Ninov, which TriggerCMD skill are you using? Both the TriggerCMD and Trigger Command, require the "Alexa, ask Trigger CMD to....."
      The Triggercmd Smart Home skill does not. You simply say "Alexa, turn on(off) ...."

      Russ created a forth skill called TC to simplify things but the original TriggerCMD and Trigger Command still remain in the Alexa skills list.

      posted in General Discussion
      tuicemenT
      tuicemen
    • RE: Skip the "Alexa, ask TriggerCmd" command?

      @Dimo-Ninov use the Trigger CMD Smarthome skill I actually have all 3 Trigger CMD skills loaded.

      posted in General Discussion
      tuicemenT
      tuicemen
    • RE: Account administration

      @aaaaa12345 most forums require users be registered to contact anyone on the forum. That is an anti spam thing.
      If you mean your wishing to contact the software developer @Russ without joining a forum then that is something he can address.

      I use to run a forum for my software while in development and required users to use the forum to ask question on it to prevent answering multi simular questions. However I also included a email contact link in the software. Maybe that should be a option @Russ can address as well.

      posted in General Discussion
      tuicemenT
      tuicemen
    • RE: ahcmd.exe problem

      @newstuffoldstuff that may fix things but I thought latest build was 318

      posted in General Discussion
      tuicemenT
      tuicemen
    • RE: ahcmd.exe problem

      @newstuffoldstuff I do remember reports of x10nets hanging being reported on the x10 forum but I thought that was fixed. How did you get the files? An ActiveHome Pro install, SDK install, or third party? I'm wondering if you have an old version of the X10nets file.
      You might try a search on the X10 forum for the x10nets stopping.

      posted in General Discussion
      tuicemenT
      tuicemen