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
Tnx
It takes the name of the variable, but that's not always what you want to see as device name.
Why didn't I think of that!
Copy/paste into PowerShell ISE or notepad, fill in your Homey's CloudID, BearerToken and ExportPath (nothing gets written there) and you're good to go.
Assuming you have Geurt's PowerShell module installed - it's in the app store.
Known issue: it will list CountDown timers as BetterLogic variables
It would be great if a variable type "enum" (or "list") could be added. For example, I use variables to keep track of the "light state" of each room ("off", "manual", "movement", etc). So if movement is not detected anymore but the state is "manual" (because the wall switch was pressed), the light will not switch off.
Also I use variables like this to keep track of the "home state" (sleeping, away, at home, vacation).
At the moment I've configured variables with the string type, but it would be great if I would be limited in the choices i.e. the list values.
be carefull,
One BL var is listed as living in BL only, but my HomeAutomation boolean var is a BitFlip Device and in use as a device check in the flows. I see this as a great Check-HomeyBetterLogicVariableUsage function!
One thing I did notice, if you've selected a few variables with a search query, and press the Delete button, nothing seems to happen, so you hit the button again. And again! And then you realize you've just deleted three variables
Maybe a stupid question that has been answered before, but I couldn't find it anywhere (believe me I tried, and btw does the search on this forum suck or is it just me?).
Anyway... The Aeotec multisensor 6 has a light sensor. The value is in lux (number), but betterlogic only seems to accept these values as strings. So I also tried to parseInt the variable but that doesn't seem to work either.
What am I doing wrong? First time experimenting with the BetterLogic app (love it, by the way! ) so forgive me for the newbee question...
Cheers,
Rob
Yes it is a known and already discussed topice the chappy forum search. ...
We have found you should search using Google filtered on this site:athom.com
But that is a vicious circle if no one told you.
http://lmgtfy.com/?q=site:athom.com+forum+search+google
@GeurtDijker, Tried that to, but couldnt find anything that way either, but thanks for the tip...
Would it be possible to show which vars are in use (and maybe how often) ? I am using this that often that I have created a huge list on vars
- The creation of variables through import (seems to be there already just not working for me )
- Different Icons
- "BitFlip" alternative for String/Number variables
Why you ask?
I'd like to integrate Domoticz with Homey, all the "yes/no, on/off,open/close" switches can be set as a boolean
but the temp sensors (number) & status (string) would be a different challenge
I'm working on a php script that would output the devices is the "correct" format
to be able to import the variables into Homey,
I first noticed because my moodlights didn't turn on at sunset. Those are triggered by a boolean. After checking, that variable had disappeared...
I recreated it, but then it appeared twice! 1 with 'Last set' at that moment, 1 from the night before (when I turned off the lights).
I tried deleting the old one, but that was not possible! Delete button did nothing.
To try and solve this, I did an Export, Delete All, Import. I checked the export, the variable was only once there.
But after the import, I still had it twice!!
So I deleted everything again, removed the variable from the export and imported everything again.
The variable was not there now, so I created it manually and that appears to have solved the problem.
Then, an hour later, I was changing some flows and noticed another variable missing in the autocomplete!
When I checked in BL settings page, 7 variables were gone (I hope, don't know the entire list by heart, so hopefully no other are missing...)
So, what I would like to request (to make a long story short ):
Could you add a counter to the settings showing the total number of variables? So we have a way of checking if the number of variables has changed (unexpectedly)?
Thanks!
But that wouldn't explain:
- the 7 missing variables, I was adjusting flows when I noticed those were gone
- the variable that came back twice after deleting all and importing (where I made sure it was only listed once)