Domoticz App

Moderator: leecollings

marcotrumpet
Posts: 102
Joined: Saturday 18 February 2017 8:21
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz App

Post by marcotrumpet »

galadril wrote:you could do that if you like.
There are little things to fix.. tell me how to do that or I can write you what and were


Inviato dal mio iPhone utilizzando Tapatalk
User avatar
galadril
Posts: 824
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: Domoticz App

Post by galadril »

marcotrumpet wrote:
galadril wrote:you could do that if you like.
There are little things to fix.. tell me how to do that or I can write you what and were
We've a crowdin project for managing translations for both mobile apps:
https://crowdin.com/project/domoticz-for-android
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
bdormael
Posts: 82
Joined: Saturday 13 December 2014 21:20
Target OS: Linux
Domoticz version:
Contact:

Re: Domoticz App

Post by bdormael »

Great version so far, few minor suggestions (apologies if already suggested before):
- more slim version of dashboard (smaller boxes, less scrolling)
- show temperature also on right side in case of temp sensors
- handle set points like dimmers for setting temp (no free text box but like how dimmers work now)
- for multi select switches or sec panel, make a separation between the selections and ‘favorite’ as it looks now that this is a selection as well
- ultimately an iPad version as well (make use of screen estate)


Verzonden vanaf mijn iPad met Tapatalk
User avatar
galadril
Posts: 824
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: Domoticz App

Post by galadril »

Thanks for the feedback.
BTW i've also updated first post with all new screenshots.

Ill add 5 more beta testers end of this week...
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
marcotrumpet
Posts: 102
Joined: Saturday 18 February 2017 8:21
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz App

Post by marcotrumpet »

galadril wrote:
marcotrumpet wrote:
galadril wrote:you could do that if you like.
There are little things to fix.. tell me how to do that or I can write you what and were
We've a crowdin project for managing translations for both mobile apps:
https://crowdin.com/project/domoticz-for-android
Image
Can't find the talk back string in crowding



Inviato dal mio iPhone utilizzando Tapatalk
bdormael
Posts: 82
Joined: Saturday 13 December 2014 21:20
Target OS: Linux
Domoticz version:
Contact:

Re: Domoticz App

Post by bdormael »

Maybe one more thing:
All sensors are now shown as ON or OFF on the right side, it would be nice if it shows OPEN or CLOSED in case of contact sensors


Verzonden vanaf mijn iPad met Tapatalk
User avatar
galadril
Posts: 824
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: Domoticz App

Post by galadril »

ill see what i can do
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
tequila
Posts: 60
Joined: Tuesday 02 August 2016 17:08
Target OS: -
Domoticz version:
Contact:

Re: Domoticz App

Post by tequila »

Hey,

I am still having this weird and very annoing issue with actions being executed several times from the app.
From my experience this only happens with sripts that require some time (a couple of seconds) to run.

For example, I have a push on button defined that triggers 3 scripts.
When I use the button from Domoticz web interface, everything runs as expected - each of the 3 scripts is executed once; I receive 3 reports (each of the 3 scripts sends a report).
If I use the same button from the app, the log says I initiated the push 6 times!
And indeed, I am getting 18 (6*3) reports.
User avatar
galadril
Posts: 824
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: Domoticz App

Post by galadril »

tequila wrote:Hey,

I am still having this weird and very annoing issue with actions being executed several times from the app.
From my experience this only happens with sripts that require some time (a couple of seconds) to run.

For example, I have a push on button defined that triggers 3 scripts.
When I use the button from Domoticz web interface, everything runs as expected - each of the 3 scripts is executed once; I receive 3 reports (each of the 3 scripts sends a report).
If I use the same button from the app, the log says I initiated the push 6 times!
And indeed, I am getting 18 (6*3) reports.

Can you see with the new debugging panel (under settings screen) if the action is also triggered multiple times from the app??
Because else it's probably a domoticz system issue (api maybe)
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
User avatar
galadril
Posts: 824
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: Domoticz App

Post by galadril »

marcotrumpet wrote: Can't find the talk back string in crowding
It's there, under the settings translations:
https://crowdin.com/translate/domoticz- ... -it#q=talk
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
marcotrumpet
Posts: 102
Joined: Saturday 18 February 2017 8:21
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz App

Post by marcotrumpet »

galadril wrote:
marcotrumpet wrote: Can't find the talk back string in crowding
It's there, under the settings translations:
https://crowdin.com/translate/domoticz- ... -it#q=talk
There is the right translation. Vote up the right one and down the other one now in use..


Inviato dal mio iPhone utilizzando Tapatalk
tequila
Posts: 60
Joined: Tuesday 02 August 2016 17:08
Target OS: -
Domoticz version:
Contact:

Re: Domoticz App

Post by tequila »

galadril wrote:
tequila wrote:Hey,

I am still having this weird and very annoing issue with actions being executed several times from the app.
From my experience this only happens with sripts that require some time (a couple of seconds) to run.

For example, I have a push on button defined that triggers 3 scripts.
When I use the button from Domoticz web interface, everything runs as expected - each of the 3 scripts is executed once; I receive 3 reports (each of the 3 scripts sends a report).
If I use the same button from the app, the log says I initiated the push 6 times!
And indeed, I am getting 18 (6*3) reports.

Can you see with the new debugging panel (under settings screen) if the action is also triggered multiple times from the app??
Because else it's probably a domoticz system issue (api maybe)
I am getting:

onButtonClick
set idx XX to ON

and I have been receiving all reports again and again unless
com.android.volley.TimeOutError appears.

So no, the debug doesn't show I would be pressing the button several times, but all reports are being sent until the above timeout error appears.
User avatar
galadril
Posts: 824
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: Domoticz App

Post by galadril »

tequila wrote:I am getting:
onButtonClick
set idx XX to ON


and I have been receiving all reports again and again unless
com.android.volley.TimeOutError appears.


So no, the debug doesn't show I would be pressing the button several times, but all reports are being sent until the above timeout error appears.
I would guess that it's an domoticz / api issue, because the event only fire once in the app. So that one api call of me, internally in domoticz has issues with your script.

Maybe some of the domoticz dev's can assist you on that :(
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
tequila
Posts: 60
Joined: Tuesday 02 August 2016 17:08
Target OS: -
Domoticz version:
Contact:

Re: Domoticz App

Post by tequila »

okay, I understand. thanks mate.
bdormael
Posts: 82
Joined: Saturday 13 December 2014 21:20
Target OS: Linux
Domoticz version:
Contact:

Re: Domoticz App

Post by bdormael »

Maybe a stupid question:
How do I enable notifications to work with the iOS app?
- I’ve enabled them in your app
- I’ve enabled gcm in Domoticz web app
- I’ve added a notification on a switch and enabled all

Now I don’t see any notifications coming on my iPhone

Sorry if this is a stupid question


Verzonden vanaf mijn iPad met Tapatalk
User avatar
galadril
Posts: 824
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: Domoticz App

Post by galadril »

bdormael wrote:Maybe a stupid question:
How do I enable notifications to work with the iOS app?
Sorry if this is a stupid questionk
This is not a stupid question..

1) You need the latest beta version of domoticz system!!! (them made changes to gcm/notifications for ios)
2) Enable GCM notifications on settings in domoticz system.
3) Open the app iPhone, check if notifications is enabled on the app.
4) The app should register itself automaticly on Domoticz, so with the latest beta you have a new settings screen called 'Mobile Devices' under more options, you should see your device registered there
5) Try a notification on a test switch with gcm enabled.

it should work.. if not, enable debugging on the debug panel in the app.. and we'll see what happens..
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
bdormael
Posts: 82
Joined: Saturday 13 December 2014 21:20
Target OS: Linux
Domoticz version:
Contact:

Re: Domoticz App

Post by bdormael »

galadril wrote:
bdormael wrote:Maybe a stupid question:
How do I enable notifications to work with the iOS app?
Sorry if this is a stupid questionk
This is not a stupid question..

1) You need the latest beta version of domoticz system!!! (them made changes to gcm/notifications for ios)
2) Enable GCM notifications on settings in domoticz system.
3) Open the app iPhone, check if notifications is enabled on the app.
4) The app should register itself automaticly on Domoticz, so with the latest beta you have a new settings screen called 'Mobile Devices' under more options, you should see your device registered there
5) Try a notification on a test switch with gcm enabled.

it should work.. if not, enable debugging on the debug panel in the app.. and we'll see what happens..
Cool, thx for the swift answer, working fine now (without sound)


Verzonden vanaf mijn iPad met Tapatalk
tequila
Posts: 60
Joined: Tuesday 02 August 2016 17:08
Target OS: -
Domoticz version:
Contact:

Re: Domoticz App

Post by tequila »

galadril wrote:
tequila wrote:I am getting:
onButtonClick
set idx XX to ON


and I have been receiving all reports again and again unless
com.android.volley.TimeOutError appears.


So no, the debug doesn't show I would be pressing the button several times, but all reports are being sent until the above timeout error appears.
I would guess that it's an domoticz / api issue, because the event only fire once in the app. So that one api call of me, internally in domoticz has issues with your script.

Maybe some of the domoticz dev's can assist you on that :(
Perhaps a stupid question - how do you actually call that action? I assumed that the domoticz app is based on json url commands.
I wanted to open an ticket in Git but when I do following:

Code: Select all

curl 'http://USER:PASS@IP:PORT/json.htm?type=command&param=switchlight&idx=39&switchcmd=On'
It works as expected. So the domoticz app must be using something different than I thought it does.

In conclusion, I am not sure how to report that issue:-)

Cheers.
User avatar
galadril
Posts: 824
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: Domoticz App

Post by galadril »

tequila wrote: In conclusion, I am not sure how to report that issue:-)

Cheers.
Maybe it'll improve if i make the timeout period longer on the data calls in the app......
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
User avatar
galadril
Posts: 824
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: Domoticz App

Post by galadril »

bdormael wrote:- handle set points like dimmers for setting temp (no free text box but like how dimmers work now)
Ill have an improvement on set points for the next release with a minus+add button... for now
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest