--
You received this message because you are subscribed to the Google Groups "openhab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
For more options, visit https://groups.google.com/d/optout.
Great!!, i will try too!
Hi Chris!
I have grabbed the https://github.com/cdjackson/HABmin/tree/rules and copied both the .jar files but don't work, if i add a rule into automation flag the right don't appear....
It's right?
--
You received this message because you are subscribed to a topic in the Google Groups "openhab" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openhab/F5EysbZ-dQc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openhab+u...@googlegroups.com.
I am impressed. This running on a smartphone is my final dream comming true. Will give it a try.
Can you modify existing rules with this tool? Create new items? I am dreaming ,-)
Hi
Wow! Nice work Chris! This is a big step up to Habmin :)
One question.. the rules file does not save with *.rules ending, but rather a txt file like this: (1)_htpc_status.txt
Is the .rules file-ending not added yet?
Best regards
Ivar
One question.. the rules file does not save with *.rules ending, but rather a txt file like this: (1)_htpc_status.txt
Is the .rules file-ending not added yet?
rule "Main Room Lights"
when
Item Scene_Main_Rooms received command
then
//0="Av", 1="På 2="Kveld"
switch (receivedCommand) {
case 0 : {
sendCommand(House_Light_Livingroom_Kids_CeilingSpot_Dim, 0)
......
rule "Trim raw serial input"
when
Item pwrRAW received update
then
/* Trim the serial input for whitespace and line break */
var String trimmed = pwrRAW.state.toString.trim
postUpdate(pwr, trimmed)
.........
> Are you just asking out of interest, or do you have a rule that needs this? Why for example do you want ‘received update’ instead of ‘changed’?
Well.. i got some scene selection rules that uses "received command" like this:
Another to trim Arduino input, like this
rule "Trim raw serial input"
when
Item pwrRAW received update
then
/* Trim the serial input for whitespace and line break */
var String trimmed = pwrRAW.state.toString.trim
postUpdate(pwr, trimmed)
………
As far as I understand the "changed" trigger is kinda limited to IF the value actually is different than the previous value?