Quantcast
Channel: HomeSeer Message Board
Viewing all 4847 articles
Browse latest View live

HS2 to HS3 Scripting Question

$
0
0
I'm trying to move a very simple script that I used in HS2 to HS3. Unfortunately I'm having some difficulty with it. I've read some various threads on what I might need to change, but so far nothing has worked. The script is very simple, it is designed to progressively increase brightness of a light in small increments over a period of time. The script, as written for HS2 looks like this:

Code:

Sub Main()
 
        dim time
        dim sunrise
        dim threshold
       
        threshold = TimeValue("6:45:00 AM")
        sunrise = TimeValue(hs.Sunrise)
       
        if (sunrise > threshold) then
                hs.execx10 "C3", "extended", 1,49
                hs.WaitSecs 300
                hs.execx10 "C3", "extended", 3,49
                hs.WaitSecs 300
                hs.execx10 "C3", "extended", 6,49
                hs.WaitSecs 300
                hs.execx10 "C3", "extended", 9,49
                hs.WaitSecs 300
                hs.execx10 "C3", "extended", 13,49
                hs.WaitSecs 300
                hs.execx10 "C3", "extended", 18,49
                hs.WaitSecs 300
                hs.execx10 "C3", "extended", 24,49
                hs.WaitSecs 300
                hs.execx10 "C3", "extended", 30,49
                hs.WaitSecs 300
                hs.execx10 "C3", "extended", 35,49
                hs.WaitSecs 600
                hs.execx10 "C3", "extended", 40,49
        end if
 
end sub

I know that I can't use "hs.execx10" any more and I need to make some changes. Based on some information gleaned from this forum, I changed the file from 'wakeup.txt' to 'wakeup.vb' and the code to look like this:

Code:

Sub Main()

        Dim X10plugin As HomeSeerAPI.PluginAccess = New HomeSeerAPI.PluginAccess(hs, "X10", "")
 
        Dim sunrise as Date
        Dim threshold as Date
       
        threshold = TimeValue("6:45:00 AM")
        sunrise = TimeValue(hs.Sunrise)
       
        if (sunrise > threshold) then
                X10plugin.PluginFunction("ExecX10", {"C3", "extended", 1, 49, False})
                hs.WaitSecs 300
                X10plugin.PluginFunction("ExecX10", {"C3", "extended", 3, 49, False})
                hs.WaitSecs 300
                X10plugin.PluginFunction("ExecX10", {"C3", "extended", 6, 49, False})
                hs.WaitSecs 300
                X10plugin.PluginFunction("ExecX10", {"C3", "extended", 9, 49, False})
                hs.WaitSecs 300
                X10plugin.PluginFunction("ExecX10", {"C3", "extended", 13, 49, False})
                hs.WaitSecs 300
                X10plugin.PluginFunction("ExecX10", {"C3", "extended", 18, 49, False})
                hs.WaitSecs 300
                X10plugin.PluginFunction("ExecX10", {"C3", "extended", 24, 49, False})
                hs.WaitSecs 300
                X10plugin.PluginFunction("ExecX10", {"C3", "extended", 30, 49, False})
                hs.WaitSecs 300
                X10plugin.PluginFunction("ExecX10", {"C3", "extended", 35, 49, False})
                hs.WaitSecs 600
                X10plugin.PluginFunction("ExecX10", {"C3", "extended", 40, 49, False})
        end if
 
end sub

When I try to run the event now, in the log I see things like this:

Code:

"Compiling script C:\Program Files (x86)\HomeSeer HS3\scripts\wakeup.vb: Namespace or type specified in the Imports 'System.Core' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases."
and a bunch of these:

Code:

"Compiling script C:\Program Files (x86)\HomeSeer HS3\scripts\wakeup.vb: Method arguments must be enclosed in parentheses."
Clearly I don't quite have a handle on the syntax and I don't understand the 'System.Core' message. Since I'm not trying to do anything really complicated, just sending an 'extended' command to an X10 device (I'm using the X10 plugin), I'm hoping that someone can point out my obvious mistakes and help me to get this script to work.

My environment configuration is this:

Code:

Current Date/Time: 11/30/2016 5:09:58 PM
HomeSeer Version: HS3 Standard Edition 3.0.0.297
Operating System: Microsoft Windows 10 Pro - Work Station
System Uptime: 0 Days 4 Hours 15 Minutes 58 Seconds
IP Address: 192.168.0.186
Number of Devices: 16
Number of Events: 7
Available Threads: 200

Enabled Plug-Ins
3.0.0.68: HSTouch Server
3.0.0.36: X10

Thanks in advance!

Jim

Login Failed

$
0
0
Apparently there was a Honeywell server update on November 28-29. I did receive an email notice.

This afternoon I restarted HomeSeer and now I get a Login Failed status message on the plug-in. I can log in and out of the My Total Comfort portal no problem.

I wonder if Honeywell updated the authorization method and broke the plug-in?

AWS Polly for voices.

$
0
0
I work with AWS (Amazon Web Services) at work and today they released something called Polly (https://aws.amazon.com/polly/). It looks like they bought Ivona TTS service and monetized it for the web. There are plenty of guides online for how to setup an AWS account and installing the required AWS cli command. There is a free tier I believe for Polly as well. This would probably be easy to setup for TTS as well but I don't have a lot of dynamic text yet so I just save the MP3s locally. You can use the AWS console to create one off phrases and save them as MP3's or several other formats.

I created a bash script (requires bash 4+) to create a bunch of phrases in different english voices and I tested it on my Mac. I figured it would be a good starting place for anyone interested, it was quickly assembled by googling AWS CLI commands and bash commands. It is not pretty and not sure if it will run on Windows at all but figured it may help someone somehow.

Here is the gist:
https://gist.github.com/mrardon/de8e...04832d2b1bebed

HS-WD100+ Dimmer + Companion: What Functions?

$
0
0
If you buy a WD1000+ Dimmer and add a companion swithc, will the companion control dimming functions through the main switch? or just on off?

Will two dimmers on the same circuit work if the companion wont function as a dimmer?

Thank you

Advanced Device Setup Tutorial?

$
0
0
I know that somewhere in here there is a very helpful guide to the more advanced device setup features, such as status graphics, etc. But this board is so huge I just can't find it right now. I'm specifically looking for the tutorial that explains the Status Graphics tab and the use of customized "control" buttons. Can you point me to it? Thanks.

Fan circulation

$
0
0
Hi Spud;

Great plugin! I just swapped out my Honeywell Thermostats for Nest ones. One thing I noticed the Honeywell had a Fan Circulate option. So during the summer when we had the A/C going, it would run every for 15mins every hour or so and did a great job keeping some zones pretty stable temp wise. I see the Nest plugin lets me turn the fan on/off, but no circulate. Looking at the thermostat settings on their site, I see they can circulate (with a schedule and such), but not sure if that's API accessible to turn that on/off (I'm not sure if the fan_timer_active is the right one or not.) Is that something you can maybe check out?

Thanks!

-Mike

Deploying to other devices?

$
0
0
I've started creating screens and wondered how what I have designed on my iPad can be deployed to my iPhone.

Any suggestions?

Michael

Questions about Blue Iris and Insteon

$
0
0
I am just about ready to pull the trigger and commit to HomeSeer but I have a couple of questions that are important to that decision.

I currently run Blue Iris for security and love it. I'm an old Webcam7 user and BI is much better. I read about the Blue iris plugin for HS3. Clearly it will allow HS3 to trigger the BI cameras which is good. I also want to trigger HS3 when Blue Iris sees motions. I didn't see a way to do that. Is it possible?

Second, I have a 2412S Insteon controller. I don't want to have any logic running on it since I can control everything via HS3. Will the 2412S plug into my Win10 machine where I will be running HS3 and allow me access to all the insteon devices. I also have a pair of 2443P bridges to jump phases.

Lastly, to add z-wave devices, do I only need a HomeSeer SmartStick+ to be able to talk to z-wave devices? I assume I would plug it into my HS3 server and would then have access to all my z-wave devices. It is really that easy?

I hope these are easy answers. I certainly will appreciate any answers.

Aeotec DSB05-ZWUS multisensor battery vs USB Power

$
0
0
I have been testing a few Aeotec DSB05-ZWUS Multisensors. I removed the battery and plugged in a mini USB cord .


On battery power the red led indicating motion is illuminated or "On" when motion is sensed.....However on Usb power the red light is always on. Is this correct or do I need to do something else.


Many of these are mounted near the ceiling and I'm tired of using a ladder to change out batteries. Use power should eliminate that and allow me to change the update or refresh rate polling the sensors.




Regards

devoir

Please Help with I/O Linc 2450...not talking to homeseer

$
0
0
Hi Mark,
I have an insteon I/O Linc 2450. It measures the water level in the pool, and controls the fill valve. It has been working well for over a year. Lately, last month or so, it has stopped working. It is winter, and the pool is not top priority, so I didn't jump right on this problem.


Here's the deal.
Homeseer refuses to talk to the I/O linc. HOWEVER,

FIRST.....
I can manually link my desktop Controlinc Button#4 to the I/O Linc, and I can turn on/off the I/O linc all day long, by pressing button#4 on/off, this works perfect. So I would assume the RECEIVE part of the I/O linc is working.

NEXT....
I have also manually linked an old Appliancelinc to the I/O linc, and they link up just fine. I can press the button on the I/O linc, and it will go on/off, and across the room the appliancelinc will also go on/off.
SO I would assume the TRANSMIT part of the I/O linc is working.

I am on Homeseer3 Pro ver 3.0.0.297
I am on Insteon plugin ver 3.0.6.0

Below I have included a detailed log view of my attempt to add a new device to homeseer through the plugin interface. The log needs to be read from the bottom up. The very first thing on the log was me pressing the button on the I/O linc twice.

The log reflects that it saw my device. Rec):1D 5A 69 13 01 01 C7 06 00.

The address of my device is 1D:5A:69




BEGIN LOG
******************************************************
Nov-30 7:51:58 PM Insteon ..finished saving comm stats.
Nov-30 7:51:54 PM Insteon Saving comm stats...
Nov-30 7:51:47 PM Insteon BackgroundUpdate Thread Complete...
Nov-30 7:51:47 PM Insteon The Insteon device at 1D.5A.69 did not respond. Please check to make sure the address is correct and that the device is powered-up. The device was not registered.
Nov-30 7:51:47 PM Insteon Scheduled polling resumed.
Nov-30 7:51:47 PM Insteon ..Got RF PLM Response 02 6F 80 22 01 1D 5A 69 00 00 00 15
Nov-30 7:51:47 PM Insteon Sending command 02 6F 80 22 01 1D 5A 69 00 00 00 to RF PLM, (Expecting 0 bytes extra back) Pre-Payload ACK:False, NAK is ok:True
Nov-30 7:51:47 PM Insteon Calling PLM_RemoveID for 1D.5A.69 1 True
Nov-30 7:51:47 PM Insteon Did not get any device type broadcast for Insteon device 1D.5A.69
Nov-30 7:51:41 PM Insteon ..Got RF PLM Response 02 62 1D 5A 69 0F 10 00 06
Nov-30 7:51:41 PM Insteon Sending command 02 62 1D 5A 69 0F 10 00 to RF PLM, (Expecting 0 bytes extra back) Pre-Payload ACK:False, NAK is ok:False
Nov-30 7:51:35 PM Insteon ..Got RF PLM Response 02 62 1D 5A 69 0F 10 00 06
Nov-30 7:51:35 PM Insteon Sending command 02 62 1D 5A 69 0F 10 00 to RF PLM, (Expecting 0 bytes extra back) Pre-Payload ACK:False, NAK is ok:False
Nov-30 7:51:30 PM Insteon ..Got RF PLM Response 02 62 1D 5A 69 0F 10 00 06
Nov-30 7:51:30 PM Insteon Sending command 02 62 1D 5A 69 0F 10 00 to RF PLM, (Expecting 0 bytes extra back) Pre-Payload ACK:False, NAK is ok:False
Nov-30 7:51:24 PM Insteon ..Got RF PLM Response 02 62 1D 5A 69 0F 10 00 06
Nov-30 7:51:24 PM Insteon Sending command 02 62 1D 5A 69 0F 10 00 to RF PLM, (Expecting 0 bytes extra back) Pre-Payload ACK:False, NAK is ok:False
Nov-30 7:51:24 PM Insteon Sending Insteon ID Broadcast for '1D.5A.69'
Nov-30 7:51:23 PM Insteon ..Got RF PLM Response 02 6F 41 A2 01 1D 5A 69 00 00 00 15
Nov-30 7:51:23 PM Insteon Sending command 02 6F 41 A2 01 1D 5A 69 00 00 00 to RF PLM, (Expecting 0 bytes extra back) Pre-Payload ACK:False, NAK is ok:True
Nov-30 7:51:23 PM Insteon Calling AddRecord for 1D.5A.69 1 True
Nov-30 7:51:23 PM Insteon Scheduled polling temporarily stopped.
Nov-30 7:51:23 PM Insteon Attempting to add Device 1D.5A.69
Nov-30 7:51:23 PM Insteon In BackgroundUpdate Thread...
Nov-30 7:51:23 PM Insteon Launching new BackgroundUpdate Thread with job type 20...
Nov-30 7:51:23 PM Insteon Set add job data : Name:I/O Linc
Nov-30 7:51:23 PM Insteon Confirm Add Device Selected
Nov-30 7:50:47 PM Insteon Manual Add Selected
Nov-30 7:50:12 PM Insteon Received STX 0x50 (Raw Insteon Rec):1D 5A 69 00 00 01 C3 11 00
Nov-30 7:50:05 PM Insteon Received STX 0x50 (Raw Insteon Rec):1D 5A 69 13 01 01 C7 06 00

************************************************************
END





Is my I/O linc bad, should I be ordering a new unit?

Michael

Weather XML Weather Maps

$
0
0
How do I get Maps to work? Can I use a Map from my local news station website?

Deleted - Duplicate thread

Multiple Somfy Shade Control

$
0
0
I'm just getting started with the plugin and wanted to make certain I am doing things correctly before I wreck my shade programming.

I have four Somfy RTS motors in my nook. The Telis RTS remote is setup to control them individually - one per channel, as well as the 5th channel that controls all four shades simultaneously. I understand that I need to pair each shade to RFXCOM with a unique ID, but can I pair all 4 shades to another unique ID to control them simultaneously? I would envision putting the Telis remote on channel 5 then start the pairing process with the plugin.

Would like to replace old 2 wire thermostat

$
0
0
I have an older Honeywell thermostat. There are only two wires running to the furnace. It would be very difficult to run new wires. I could run AC to the thermostat location pretty easily.

Is there a wifi, insteon, or z-wave thermostat that will work with only 2 wires?

Other ideas?

UK: Cheap Appliance Modules for RFXCOM

$
0
0
Guys

Looking for advice - anyone have some suggestions for cheap UK available appliance modules (remote sockets) that work with RFXCOM?

Given the amount of 4 pack remote sockets on sale these day, I figured that some must work ok with RFXCOM! However, after buying some from Lidl that "appeared" to work (Lighting4), finding that they were not going to work, I dont want to collect any more gifts to automate the neighbours xmas tree lights!


Thanks in advance

David

HS3 Event Advice

$
0
0
I've been trying to move a script I wrote for HS2 to HS3 and I'm having trouble getting it to function the way I want. It occurred to me that perhaps HS3 has better way to do what I want to do without needing the script, or by using a slightly different script.

Basically what I want to do is turn on an X10 light fixture at a specific DIM level at a given time of day. I then want to make the light progressively brighter every few minutes or so until after about 30-40 minutes the light is full on. In HS2 I was using X10 'extended' commands to set a brightness level and then add to the brightness. The code I'm using in my new script (which isn't working properly) looks like this:

Code:

...
                X10plugin.PluginFunction("ExecX10", {"C3", "extended", 1, 49, true})
                hs.WaitSecs(300)
                X10plugin.PluginFunction("ExecX10", {"C3", "extended", 3, 49, true})
                hs.WaitSecs(300)
                X10plugin.PluginFunction("ExecX10", {"C3", "extended", 6, 49, true})
...

The code executes, but it effectively just turns the light on at maximum brightness and when I view the device in the status panel, the panel still thinks the light is off.

Anyway, if anyone has suggestions on a better way to do this sort of thing in HS3, I would be happy to hear it.

Thanks!

Jim

Cooper Multi Button Keypad Problems

$
0
0
I'm pretty disappointed with my $800 purchase of 10 Cooper multi switch keypads; can anyone offer suggestions? I was told these were a great replacement for my 17 year old Lutron system. I know nothing about scenes, but it seemed easy enough to program a button press to run a lighting event. However, I have fought the devices since I got them.

Coordinating the "on-off" lights on the keypads is literally not possible. Though there is an action to "Control the Indicator Light", it actually triggers the event. Apparently this was not the case with earlier versions and this issue has been on Bugzilla for over a year with many complaints, but nobody will address it or even reply.

As to device control, I have no idea what's going on; I have had totally unpredictable outcomes on all keypads for several months. The log sometimes reports a keypress, but sometimes doesn't. The log sometimes shows that the event was correctly triggered, but sometimes shows "Scene Activation for Scene ID 16" even though there is no Scene 16 set up for the device that I am aware of. I have set up a simple test wherein pressing Button 1 on triggers an event that turns a light on, pressing Button 1 off turns the light off. Here is the log for a sequential series of button presses just now.

(Correct Operation) Press Button 1 on:
Light Keypad Den Scene Rear Door 1 Set to ON
Event Trigger "Lighting Keypads Keypad Test, Scene 1 On Rear Door"
Light Den Red Vase Light to On (99)
Light Den Red Vase Light Set to 99

(Correct Operation) Press Button 1 off:
Light Keypad Den Scene Rear Door 1 Set to OFF
Event Trigger "Lighting Keypads Keypad Test, Scene 1 Off Rear Door"
Light Keypad Den Scene Rear Door 2 Set to OFF
Light Den Red Vase Light to Off (0)
Light Den Red Vase Light Set to 0

(Mystery Operation) Press Button 1 on: Received a Scene Activation for Scene ID 16

(Mystery Operation) Press Button 1 off: No Log

(Mystery Operation) Press Button 1 on: Received a Scene Activation for Scene ID 16

Geofency issue

$
0
0
I am having issues with my wife's iphone that sometimes update the ibeacons status in PHLocation and sometimes it does not.

She have an iphone 7 running 10.1.1, I have the same exact setup and mine keeps updating the status of ibeacons correctly.

Anyone have the same issue ?

p.s. There doesn't seem to be other Bluetooth issues with her phone, car bluettoth ok, speaker ok, stereo headset ok

Devices lost on reboot

$
0
0
HomeTroller-SEL
No
M1XEP
Do you run any anti-virus programs? No

When I reboot the system all devices disappear from the homeseer device list

Are you able to duplicate the issue? Yes - Simply rebooting the system causes this to happen.

My lighting devices are on a c-bus network and are visible in the ELK via http://nesscorporation.com/ness-auto...sion-3-00.html

Any ideas are welcome!

Insteon plug in stopped working: can't open /dev/ttyUSB0

$
0
0
Greetings all:
Here is my problem>

i have been using a USB insteon PLM for about a year. Great. Stable. Suddenly is stopped communicating. I changed cables. I bought a new PLM. Same problem.

I am using a a-to-z controller. Plug in version:3.0.6.0
HS3 ZEE S2 Edition 3.0.0.297 (updated to most current version)


dmeg relevant items:
....lots more
[ 1.778750] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 1.780720] Indeed it is in host mode hprt0 = 00001101
[ 1.979041] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[ 1.980971] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.984150] hub 1-1:1.0: USB hub found
[ 1.986184] hub 1-1:1.0: 5 ports detected
[ 2.268830] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 2.369061] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 2.371026] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.376033] smsc95xx v1.0.4
[ 2.442690] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:38:c8:e5
[ 2.538846] usb 1-1.3: new full-speed USB device number 4 using dwc_otg
[ 2.666754] usb 1-1.3: New USB device found, idVendor=0403, idProduct=6001
[ 2.668917] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.671029] usb 1-1.3: Product: FT232R USB UART
[ 2.673047] usb 1-1.3: Manufacturer: FTDI
[ 2.674897] usb 1-1.3: SerialNumber: A600B4K2
[ 2.735988] udevd[181]: starting version 175
[ 3.220558] usbcore: registered new interface driver usbserial
[ 3.235128] usbcore: registered new interface driver usbserial_generic
[ 3.238743] usbserial: USB Serial support registered for generic
[ 3.259721] usbcore: registered new interface driver ftdi_sio
[ 3.262201] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 3.268478] ftdi_sio 1-1.3:1.0: FTDI USB Serial Device converter detected
[ 3.274010] usb 1-1.3: Detected FT232RL
[ 3.279534] usb 1-1.3: FTDI USB Serial Device converter now attached to ttyUSB0
....and more

so it seems to find it

the Insteon plug in log:
Insteon Plug-in Error Log Generated 12/1/2016 5:34:23 PM
-----------*Error Message*----------------
Error: Forced error / log generation -- 12/1/2016 5:34:23 PM
--------*Initialization Log*--------------
12/1/2016 5:33:47 PM - Host System: () 3.0.0.280
12/1/2016 5:33:47 PM - Plugin HSPI_Insteon.exe version: 3.0.6.0
12/1/2016 5:33:47 PM - Insteon Support library (Insteon.dll) version: 1.0.6.0
12/1/2016 5:33:47 PM - RegisterCallback Completed
12/1/2016 5:33:47 PM - Enter InitIO
12/1/2016 5:33:47 PM - Enter InitPlugin
12/1/2016 5:33:47 PM - Global initialization of plug-in required, starting up.
12/1/2016 5:33:47 PM - Initializing Insteon hardware interface...
12/1/2016 5:33:47 PM - In ProcessRawReceiveThread
12/1/2016 5:33:47 PM - Initializing Interface...
12/1/2016 5:33:47 PM - In PLMBuffer_ProcessBufferThread
12/1/2016 5:33:47 PM - Sending command 02 60 to Interface, (Expecting 6 bytes extra back) Pre-Payload ACK:False, NAK is ok:False
12/1/2016 5:33:48 PM - ..Got NAK from the Interface for command
12/1/2016 5:33:48 PM - ..Retry #1 required. Pausing 250ms for Interface to clear...
12/1/2016 5:33:48 PM - ..Got NAK from the Interface for command
12/1/2016 5:33:48 PM - ..Retry #2 required. Pausing 300ms for Interface to clear...
12/1/2016 5:33:49 PM - ..Got NAK from the Interface for command
12/1/2016 5:33:49 PM - Insteon hardware interface initialization failed.
12/1/2016 5:33:49 PM - Exit InitIO

-----------*Pre-Error Log*----------------
12/1/2016 5:33:49 PM - Could not contact Interface on /dev/ttyUSB0
12/1/2016 5:33:49 PM - Port_DataReceived Error: Specified port is not open.
12/1/2016 5:33:49 PM - Port_DataReceived Error: Specified port is not open.
12/1/2016 5:33:49 PM - Port_DataReceived Error: Specified port is not open.

etc....
but the plug in can not open the port



the listing lsusb:
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC

sometimes is works for a few seconds then quits (I think), giving me the same error messages

Can anyone help me...I am at the end of my ropes. Why did it suddenly stop woking? And more importantly, how can I fix it?

Many thanks!
Viewing all 4847 articles
Browse latest View live