Recent Posts

Pages: [1] 2 3 ... 10
1
Trying to tackle in pleg but devicer property doesn't allow above/below threshold but current value.

I tried to use Triggered but not going well either.

tLuxHigher (brightness reach >10)
tLuxLower (brightness level goes below 5)

Condition:
cLuxhigher  expression (tLuxHigher)
cLuxlower expression (tLuxlower)

cLuxhigher action = Smart Switch all off
cLuxlower action = Smart switch on according to desire values

tried it both ways, covered the sensors let the lights drop and let it go neither mad a difference.
2
I would suspect the router needs to be set to assign a consistent IP address to that camera's MAC address. Not sure why the port would be dynamic, unless you can also tie the port to the MAC address. It does not sound like a Vera issue but a router issue, but I do not have that camera.
3
Amazon Alexa / Re: Let's talk about when Alexa should reply with OK
« Last post by Sammy2 on Today at 07:07:47 pm »
The more and specifically more accurate feedback from Alexa / Vera the better.

I vote for A as it tells us what happened but as other have stated sometimes the answer from Alexa doesn't match what actually happens either. Sometimes it says, "OK" and nothing happens. Other times it says, "I cannot do that" (or whatever..) and it actually does. At other times it just takes too long.

I would like B if it followed up with a status too. Following rules of effective communication, one should always confirm what was asked before answering. Alexa should do the same don't you think?
4
General / Re: Creating triggers from luup code
« Last post by parkerc on Today at 07:00:14 pm »
status, status1, and power are set once initially and never updated again.  Is that what you intended?  Your if/then/else checks them later so I suspect you want them updated?

Great point !

Thanks for that. I?ve been slicing and dicing the code around so much now to try to get each function to work. So I?ve had those calls in various places  etc. .

I?ll look to make them part of their respective functions again and see how that changes things 
5
General / Re: Creating triggers from luup code
« Last post by parkerc on Today at 06:51:13 pm »
Is that in your startup LUA ? (Yes I am a capitalist)

If you restarts just after motion ... your 30 second delay function will no longer be called.

I stand by the 2nd response to this thread!  Use PLEG ... it solves the boundary/restart conditions of this type of logic.

Hi @RTS.

Agreed and I have various things running va your great PLEG app, but (and call me old fashioned) I like using my Vera set up to teach myself Lua.  It?s the only thing I?ve found that fuels me interest in  programming ;)

As for a restart effecting the 30 second delay, you?re right - but in the end I thought if I can get the code and checking function right, the impact (if/when it occurred) could be minimal.
6
Program Logic Plugins / Re: State Variables
« Last post by zedrally on Today at 06:31:31 pm »
In the Conditions they are quotes,  the question mark is from the copy/paste. See the attachment of the  Status report.
When you say double quotes do you mean ""xxx"" or "xyz" ?
7
General / Re: Creating triggers from luup code
« Last post by jswim788 on Today at 06:24:22 pm »
status, status1, and power are set once initially and never updated again.  Is that what you intended?  Your if/then/else checks them later so I suspect you want them updated?
8
Program Logic Plugins / Re: Pleg hanging up, no longer able to edit
« Last post by dannieboiz on Today at 06:14:51 pm »
sorry for the costant back and forth. I had 3 devices in PLEG, I added a 4th one after I fixed the issue and now it's telling me that I've maxed out.

1 license gives me 4 devices right?
9
Program Logic Plugins / Re: Pleg hanging up, no longer able to edit
« Last post by dannieboiz on Today at 06:09:05 pm »
went through all the steps and is now able to navigate around. Thanks for your help
10
Plugins & Plugin Development / Re: EnOcean ESP3 Gateway plugin
« Last post by wilme2 on Today at 06:02:18 pm »
Also, has anyone tried using two instances of the plug-in with two different USB sticks?  My house is equipped with all 315 Mhz products - roughly 20 WSC04-IRWs, which cost between $35-$75 each, and a WSWDR-I0W for which I paid $150.  But I have been seeing the newer 902 Mhz WSWDR-H9W on eBay for around $25 each.  Today I just bought a lot of 10 WSWDR-H9Ws for $100 - less than a tenth what I paid for the 315 Mhz version.  If we can now get wireless + solar occupancy sensors for $10 (or even $25), then EnOcean goes from an expensive sensor network for Vera to the cheapest available...   So I want to test both 315 Mhz and 902 Mhz at the same time.  I will have to order a 902 Mhz USB stick...

So I solved this issue with the two frequencies.  I put in a EnOcean cross-band repeater, that takes signals at 315 Mhz and repeats them at 902 Mhz, and vice-versa.  It repeats the teach-ins and everything, so you can add devices in the other frequency as normal.  The only downsides are price, availability, and having another device to mount. 

Expensive at $315 + shipping from Canada, but for me cheaper than replacing my whole network of twenty 315 Mhz sensors ($1000 minimum), and now I can just add 902 Mhz as I want.  And if I wanted to move to HA system with EnOcean based on 902 Mhz (Zipato), this would let me use my 315 mhz devices on that other system too... 

Availability - from specialty lighting retailers, the link can point to someone local to you.  They will have to special order the device.

Mounting - small form factor, but you will want it centrally located and powered (does not come with power supply - it can take a AC or DC in a range of voltages) - for me it was pretty easy, I already had a wireless repeater for my alarm system inside a wall with a run from a 24 V alarm panel power supply.  I just mounted next to that device inside the wall and connected in line to the same power supply.

http://www.echoflexsolutions.com/products/controllers/process-control/cbr-cross-band-repeater
Pages: [1] 2 3 ... 10