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.
Official
Comments
Since i decided to rewrite the UI, i chose for bootstrap and added some own styles to it.
The 7inch display is too small to add "widgets" to the main page. So i might create seperate pages for the news and weather. The first thing i want to control is sabnzbd and unraid, after that the weather and news.
I am going to rewrite the api calls as well. Working on an angular factory that gets the current zone-id as input, and outputs all the devices as needed. I think this is a more clean way to do so. The main problem (still) is getting the state, i need to loop trough every device to get its current state and add it to the "main" array.
Let's hope Athom changes this in the future, so that 1 api call would suffice.
This means that i got my devices up and running again
Not able to control yet tho, still need to try a few sliders to get that working
For now a video on how it looks on my tablet: (not sure if you have to login to slack first tho. If so, then comment and ill upload it to youtube.)
https://athomcommunity.slack.com/files/swttt/F22221WE5/slack_for_ios_upload.mp4
EDIT: Just checked, you need to login to slack.....so uploading to youtube...DONE
Do note, controlling devices isn't working yet in the V2.
https://github.com/swttt/HomeDash_v2
Had to use a work around, since i couldn't get the PUT request working in the ngResource module. (cross origin something, it tried an OPTION request first...not really familiar with this)
Until i find a better way, i am using the standard $http now.
And here some current screenshots:
Thanks.
If you have any questions or need some help on creating such a function, you can contact me on slack.
From here i'll add the dim functionality first, so that at least all the sockets and lights are controllable.
Thanks!
Updated the code again, dimming works now.
Latest code is on github.
Next up are the routes, so i can create extra "pages".
Thumbs up!
Updated the Readme on github so it's easier to get started.
Added the sensor page, but might try to handle it differently in an upcoming commit.
Unfortunately it doesn't want to work on my mac mini. Just pasted my bearer token and opened the index.html in safari, but the page keep being white... Do you have a solution for this problem.
Thank you very much and again keep the nice work going on!
Should be an issue with cross domain requests.
You should install (for example) xampp as a web server. This makes it able to connect from other devices to the dashboard as well. I tried to describe this in the readme as well.
Yes, the same for me.
Keep up the good work!
Controlling lights and viewing sensors is already functional tho, so you could give it a spin
Going to update github in a few minutes, just added a new way to check the sensors in a certain room.
You now can swipe from right to left to open the sensors bar, and close it with a left to right swipe
Video:
The part you copy there contains also your ip adres (the part directly after http:// and before the first slash)
I added both with the " in it; so "192.168.1.200" and "thebeareridhere"
Tried it without the ", did not work either.
What is the correct format of the two values I add in the json file. If I know that for sure, I can check my server and other probable causes...
Thanks!
What kind of errors are you getting in the console?
Should work on safari as wel. (current version on osx)
Thanks
(I renamed the dir to HOMEY, after changing it to HomeyDash again, it worked)
Thanks @swttt !