This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Comments
dit was al voor de laatste updates. het zou heel fijn zijn als u hier tijd hebt om er aan te werken.
dit is inderdaad iets dat al heel lang speelt, schijnbaar zeer moeilijk op te vangen, ook de homey logic (in gebouwde) kaarten hebben hier last van, je kan het zelf opvangen door de waarde zelf af te ronden:
This is indeed something that is there for a long time, even the buildin logic cards of homey have this problem.
je can catch it yourself by rounding it yourself:
\{\
chart = stepLine;\
decimals = 2;\
enabled = 0;\
label = \{\
en = "Volume Sonos kamer";\
\};\
name = "Volume Sonos kamer";\
type = number;\
units = \{\
en = Value;\
\};\
uri = "homey:app:net.i-dev.betterlogic";\
uriObj = \{\
icon = "/app/net.i-dev.betterlogic/assets/icon.svg";\
id = "net.i-dev.betterlogic";\
name = "Better Logic";\
type = app;\
\};\
\},\
\{\
chart = stepLine;\
decimals = 2;\
enabled = 0;\
label = "Volume Sonos kamer";\
name = dim;\
type = number;\
units = 0;\
uri = "homey:device:5d0b686e-bf6b-411d-b075-646a5309dab4";\
uriObj = \{\
icon = "/app/net.i-dev.betterlogic/assets/icon.svg";\
id = "5d0b686e-bf6b-411d-b075-646a5309dab4";\
meta = \{\
zoneName = "experimenteer lab";\
\};\
name = "Volume Sonos kamer";\
type = device;\
\};\
\},\
http://mathjs.org/docs/expressions/syntax.html
Its for a "slow" dimmer so I want increments of 0,05 until 1 but I need it for 3 lamps and they need to run so lap one starts before lamp 2 and 3 - and I want to integrate it into 1. flow instead of making 3 flows..
I was looking for a statement that just adds 0,05 if the number in the $variable$ is less than 1..
And then I want to run it until lamp1 => 1 and lamp2 => 1 and lamp3 => 1...
However .. you make an excellent point that without other capabilities in Homey to do the manipulation , it's a pointless feature, so let me withdraw this request, at least for the time being.
HomeyScript offers a possible solution although I'm not yet sure if I can read/write BL variables (or even Homey variables) from that. I also have some problems with the asynch nature of the scripts, but as I said I'm quite new to Homey (and JS). I will explore writing my own app too.
I'm anxious about the number of flows I have to create to achieve things that are related. BL helps a lot but the overall flow model seems flawed. Something like Node-RED would seem much better suited. I'm looking at hooking in/out of that too.
Great job with BL - many thanks for all the work you've put in on this and the ongoing helpful support.
I have several flows which are triggered by automatically (by movement, sun events, time, etc.) and can be triggered by using a BitFlip-device. When the flows are triggered, the BitFlip isn't changed so I can't see the current state in the app. But when I change the variable from the automatic flow, the device is triggering flows as well.
Although this might not seem like a problem (since the flow had to be triggered anyway), I have some flows where I want a distinction between automatically triggered and manually triggered. Currently, I just disable some flows when I set the variable and enable them afterwards, but it would be nice if I could change the variable without the device triggering (but have the device change according to the variable).
Maybe a new card: 'Change variable without trigger'?
BitFlip-Device (Boolean)
Variable (Number)
You also need two Flows:
One Flow for the BitFlip-Device and a second Flow for doing things that Homey should do.
First Flow
When > BitFlip-Device turned On
And > Number-Variable is not 1
Then > Trigger second Flow
Second Flow
When > Flow is triggered
Then > Things that Homey should do and set Number-Variable to 1 and switch On BitFlip-Device after 3 seconds
3-Seconds-Delay: Tested it out and with 3 seconds it works perfect for me.
In that way you could trigger the Second Flow with the BitFlip-Device and from other Flows/Actions > The BitFlip-Device will shown (after 3 seconds) the correct state.
Now the first flow is working fine when I press the Bitlfip device on my mobile phone. The problem is that when I do a voice command the TV is turning on & off fine but the bitflip device is not changing. Although it is changing in the settings menu so it looks like the flow is correct. Maybe I miss something?
Edit: After a fresh reboot everything is working fine!
Hello everybody,
I have some flows where I would need the ability to check if a variable not changed. Are there any news on this? I haven't found something in the forum.
Regards
Seraphim
After a very long and busy period I figured I need to put some time in the app again. Also, I still need to implement SDK2 to ensure you all can use the app when SDK1 gets abandonned. For now my to do list is:
- Implement SDK2
- Fix some bugs where the app could crash if a value was typed instead of selected
- Feature request: Whitelisting from LAN
- Feature request: API call for variable by name
If anyone has requests or bugs, please post them on github: https://github.com/PatrickSannes/BetterLogic/issues
Regards,
Patrick
I'm totally new with Homey, just started yesterday. As a former Fibaro user I used a lot of variables in my scenes, that I now miss in Homey. So I really want to try this app.
I've stranded on the install.
I'm getting this error:
Am I making a noob mistake?
Grtz and thx, Chris
I was trying to install it via Node, that didn't go well.
I now installed it via the Appstore.
Let's see if this will help me make some flows for my rollerblinds.
Tnx!