WIP - E-moticz - Mobile site / app
Moderator: leecollings
-
- Posts: 1
- Joined: Tuesday 24 March 2015 6:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
WIP - E-moticz - Mobile site / app
I have 2 issues with the code attached:
1/ cordova.js is missing (but maybe it is not needed)
2/ a CORS issue "No 'Access-Control-Allow-Origin' header is present on the requested resource." (installing the chrome extension https://chrome.google.com/webstore/deta ... ihlkkiljbi makes it work)
possible solution: http://blog.novanet.no/angularjs-with-j ... k-on-time/
But really nice work. Thanks
1/ cordova.js is missing (but maybe it is not needed)
2/ a CORS issue "No 'Access-Control-Allow-Origin' header is present on the requested resource." (installing the chrome extension https://chrome.google.com/webstore/deta ... ihlkkiljbi makes it work)
possible solution: http://blog.novanet.no/angularjs-with-j ... k-on-time/
But really nice work. Thanks
-
- Posts: 8
- Joined: Monday 29 September 2014 21:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Weert (Netherlands)
- Contact:
Re: WIP - E-moticz - Mobile site / app
Hi,
Tnx for this theme. This is a very nice one!
But i have the following issue. I have six temperature sensors and on my iphone. Only four are shown and on my iphone (5s) they are to small.
Also the last T from Watt is not shown correctly on my phone.
See the attached screenshots from my iphone
EDIT:
The first problem i already solved.
The two temp sensors that did not display where the sensors with only temperature values and no humidity values.
So i edited the file tab-dash.html and added the following part after the normal temperature module:
The big change is: Line 5. "light.Type=== 'Temp'
edit 2:
To add app lights (philips HUE and mi-light) to switch by the theme, i edited the 2 tab files tab-dash.html and tab-lights.html.
and added on both files:
with
owkay, you can only switch these light's but it's a start
Tnx for this theme. This is a very nice one!
But i have the following issue. I have six temperature sensors and on my iphone. Only four are shown and on my iphone (5s) they are to small.
Also the last T from Watt is not shown correctly on my phone.
See the attached screenshots from my iphone
EDIT:
The first problem i already solved.
The two temp sensors that did not display where the sensors with only temperature values and no humidity values.
So i edited the file tab-dash.html and added the following part after the normal temperature module:
The big change is: Line 5. "light.Type=== 'Temp'
Code: Select all
<div class="row">
<div
class="card col temp"
ng-repeat="light in devices"
ng-if="light.Type === 'Temp' && light.Favorite == 1"
ng-model="light.checked">
<div class="item item-text-wrap">
<i class="icon ion-thermometer"></i>
<div class="info">
<h3>{{ light.Temp }}°</h3>
</div>
</div>
<div class="item item-divider">
<h2>{{ light.Name }}</h2>
</div>
</div>
</div>
To add app lights (philips HUE and mi-light) to switch by the theme, i edited the 2 tab files tab-dash.html and tab-lights.html.
and added on both files:
Code: Select all
<ion-toggle ng-repeat="light in devices" ng-if="( light.Type === 'Lighting 1' || light.Type === 'Lighting 2')
Code: Select all
<ion-toggle ng-repeat="light in devices" ng-if="(light.Type === 'Lighting Limitless/Applamp' || light.Type === 'Lighting 1' || light.Type === 'Lighting 2')
-
- Posts: 10
- Joined: Tuesday 10 February 2015 14:23
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: WIP - E-moticz - Mobile site / app
Thanks, i will add that to my code. Maybe it's useful to add it to Github if someone is interested?
Thanks to ldb2000 i finally got the JSONP not working so you can also use it from an external address.
I'm still busy with the redesign of the Energy tab and apply some small fixes.
Thanks to ldb2000 i finally got the JSONP not working so you can also use it from an external address.
I'm still busy with the redesign of the Energy tab and apply some small fixes.
-
- Posts: 8
- Joined: Monday 29 September 2014 21:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Weert (Netherlands)
- Contact:
Re: WIP - E-moticz - Mobile site / app
Please put it on Github. So you can refer to one place for the download and i'm intrested to assist with the development of this theme!
-
- Posts: 8
- Joined: Wednesday 04 February 2015 22:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Germany
- Contact:
Re: WIP - E-moticz - Mobile site / app
I downloaded the theme, but unfortunately there is no auto refresh. when I update switch from another place, ex: from hardware, the themes need to refresh manually to update status
-
- Posts: 37
- Joined: Friday 08 May 2015 8:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Amsterdam
- Contact:
Re: WIP - E-moticz - Mobile site / app
How did you manage to allow cross domain calls to Domoticz? When I run the mobile site I get:
I could not find any setting in Domoticz to enable cross domain requests (CORS).XMLHttpRequest cannot load http://192.168.178.47:8080/json.htm?typ ... order=Name. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://192.168.178.47' is therefore not allowed access.
Checkout the OsiDark theme for Domoticz
-
- Posts: 4
- Joined: Monday 19 May 2014 13:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2846
- Contact:
Re: WIP - E-moticz - Mobile site / app
I have taken your source and am working on the app version. (If that is ok with you)
I was working on almost the same base version and then found this post. I have my source (very very first version) on github https://github.com/markmastop/appoticz
If it is fine with you I want to merge the two projects (take your version as the base version) and store the source on github so more people can add extra features to the app if they want to. For me I want to control my heating (summer project needs to be ready for the winter).
I do have an apple and google account so I can put the app in the appstores.
Mark
I was working on almost the same base version and then found this post. I have my source (very very first version) on github https://github.com/markmastop/appoticz
If it is fine with you I want to merge the two projects (take your version as the base version) and store the source on github so more people can add extra features to the app if they want to. For me I want to control my heating (summer project needs to be ready for the winter).
I do have an apple and google account so I can put the app in the appstores.
Mark
-
- Posts: 4
- Joined: Monday 19 May 2014 13:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2846
- Contact:
Re: WIP - E-moticz - Mobile site / app
Oh the app is running on ios. Forgot to add the image in the previous post.
Mark
Mark
- G3rard
- Posts: 669
- Joined: Wednesday 04 March 2015 22:15
- Target OS: -
- Domoticz version: No
- Location: The Netherlands
- Contact:
Re: WIP - E-moticz - Mobile site / app
Would indeed be nice if you make this available as an app in the Apple app storem.kram wrote:Oh the app is running on ios. Forgot to add the image in the previous post.
Looking forward to that.
Not using Domoticz anymore
-
- Posts: 10
- Joined: Tuesday 10 February 2015 14:23
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: WIP - E-moticz - Mobile site / app
I just posted it on Github so people can add other functionality: https://github.com/emkedouwe/e-moticz
I added the changes from schmm.
I added the changes from schmm.
-
- Posts: 32
- Joined: Tuesday 26 May 2015 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Seattle WA, USA
- Contact:
Re: WIP - E-moticz - Mobile site / app
I don't own a mac to assist with code but would love a iOS app with ability to operate the security panel more natively
- remb0
- Posts: 499
- Joined: Thursday 11 July 2013 22:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: The Netherlands
- Contact:
Re: WIP - E-moticz - Mobile site / app
My compliments to both! I hope no it's on github more members will support.
- kraades
- Posts: 36
- Joined: Wednesday 24 June 2015 9:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: The Netherlands
- Contact:
Re: WIP - E-moticz - Mobile site / app
Is this project abandoned/dead?
- Egregius
- Posts: 2582
- Joined: Thursday 09 April 2015 12:19
- Target OS: Linux
- Domoticz version: v2024.7
- Location: Beitem, BE
- Contact:
Re: WIP - E-moticz - Mobile site / app
So it seems, last change 3 months ago.
Just tested it for fun.
Some points that need attention:
Size of website is 2.2MB, quit big for people with small mobile data subscriptions.
Switch state doesn't update after page load.
Just tested it for fun.
Some points that need attention:
Size of website is 2.2MB, quit big for people with small mobile data subscriptions.
Switch state doesn't update after page load.
You don't need a Mac to develop a web page. It's not a real iOS app, it's a 'apple-mobile-web-app-capable' site.spudgunman wrote:I don't own a mac to assist with code but would love a iOS app with ability to operate the security panel more natively
Who is online
Users browsing this forum: No registered users and 1 guest