Domoticz app 2.0 Topic is solved

Moderator: leecollings

Gerwin
Posts: 84
Joined: Friday 12 August 2016 13:08
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz app 2.0

Post by Gerwin »

I get unable to get the server configuration information

On the tablet
Gerwin
Milenko
Posts: 13
Joined: Tuesday 11 April 2017 16:33
Target OS: -
Domoticz version:
Contact:

Re: RE: Re: Domoticz app 2.0

Post by Milenko »

Gerwin wrote:Here works geofencing great ,
Location of the phone must be switched on else find he no address
Location is on. Google fit tracks my activity all over twn without any problems. Othwr apps can find my location and i can search. Domoticz finds my location but doesn't fill in the address so I can't select an address for the geofence.

Long. Lat. entry would be a great workaround for me.



Sent from my ZTE A2017G using Tapatalk
Gerwin
Posts: 84
Joined: Friday 12 August 2016 13:08
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz app 2.0

Post by Gerwin »

See picture
Screenshot_2017-04-14-17-05-16.png
Screenshot_2017-04-14-17-05-16.png (113.58 KiB) Viewed 2762 times
rlschulz
Posts: 20
Joined: Sunday 25 October 2015 16:33
Target OS: Windows
Domoticz version: 3.5877
Contact:

Re: Domoticz app 2.0

Post by rlschulz »

I am also getting the "Permissions denied" "These location permissions are needed for Geofencing and to get the Wifi SSID's around you!" I tried to reinstall it from the play store to see if it would help. I also checked the permissions in Apps and it has location enabled. It seems to have started this with the last update.
User avatar
galadril
Posts: 824
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: Domoticz app 2.0

Post by galadril »

rlschulz wrote:I am also getting the "Permissions denied" "These location permissions are needed for Geofencing and to get the Wifi SSID's around you!" I tried to reinstall it from the play store to see if it would help. I also checked the permissions in Apps and it has location enabled. It seems to have started this with the last update.
Your running beta?
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 2.0

Post by galadril »

galadril wrote:
rlschulz wrote:I am also getting the "Permissions denied" "These location permissions are needed for Geofencing and to get the Wifi SSID's around you!" I tried to reinstall it from the play store to see if it would help. I also checked the permissions in Apps and it has location enabled. It seems to have started this with the last update.
Your running beta?

Hmm it looks like the google maps view of the location picker also uses the WRITE_EXTERNAL_STORAGE to cache the google maps..
Can it be that you've not enabled that permissions (needed for settings and more also)?

Can you check the permissions on the settings screen/
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 2.0

Post by galadril »

galadril wrote:
galadril wrote:
rlschulz wrote:I am also getting the "Permissions denied" "These location permissions are needed for Geofencing and to get the Wifi SSID's around you!" I tried to reinstall it from the play store to see if it would help. I also checked the permissions in Apps and it has location enabled. It seems to have started this with the last update.
Your running beta?

Hmm it looks like the google maps view of the location picker also uses the WRITE_EXTERNAL_STORAGE to cache the google maps..
Can it be that you've not enabled that permissions (needed for settings and more also)?

Can you check the permissions on the settings screen/

I've added the permission check on the latest beta for now
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
pj-r
Posts: 140
Joined: Wednesday 17 December 2014 17:30
Target OS: Linux
Domoticz version: V3.8650
Location: Jyväskylä, Finland
Contact:

Re: Domoticz app 2.0

Post by pj-r »

bueno79 wrote: ---snip---
this type of switch is not manage very well on the apps. It could be great to have the button always display. Currently I need to go in setting, activate option to see ON/Off button (whyyyy?); then I type ON, a combo box appear and I have to choose the mode...not very cool.

If you can do something better...I will be your biggest fan in France :)

Bueno
I have faced this selector thing also and its bit annoying.

Would it be possible to update the selector control to not have the separate On/Off switch?
Only the drop down with off option if its enabled in selector settings.
LXC(x64 Ubuntu Xenial), RFXtrx433E, MySensors
rlschulz
Posts: 20
Joined: Sunday 25 October 2015 16:33
Target OS: Windows
Domoticz version: 3.5877
Contact:

Re: Domoticz app 2.0

Post by rlschulz »

I am using 0.1.391(2757). It still lists that as an error when I use it, but it is working. I also found that it works well with actual switches, but fails with dummy switches. I was trying to get it to open the garage door, if it wasn't already open, by using a dummy switch that checks the door sensor before closing the garage door switch. It works fine when I manually press the dummy switch, and the geofence also works when I use the actual switch. It will not switch the the dummy switch for some reason. It is an awesome app and I thank you for all the hard work you put into it.
olskar
Posts: 17
Joined: Sunday 12 February 2017 15:58
Target OS: -
Domoticz version:
Contact:

Re: Domoticz app 2.0

Post by olskar »

galadril wrote:
olskar wrote:Every time i open the app the geofence triggers, anyone else see this?
I recreate all geofences on app restart.
But the latest beta has a change that it doesn't set the switch again if it's not needed..
I am now on latest beta. Even though I am home, when i start the app I get the "entering" notification?
Winne0345
Posts: 4
Joined: Monday 20 March 2017 17:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz app 2.0

Post by Winne0345 »

galadril wrote:
Winne0345 wrote: But it isn't behave like expected. The widget is getting bigger, but font size not.
I tried different launchers and all behave like that. What launcher should i use?
good point.. didn't thought of that ;)
It is possible to change that behavior?
Or is this too complicated?
tequila
Posts: 60
Joined: Tuesday 02 August 2016 17:08
Target OS: -
Domoticz version:
Contact:

Re: Domoticz app 2.0

Post by tequila »

Hey everyone,

I am having a strange issue - when I turn a virtual switch on/off from dashboard using the Domoticz App, it always triggers the command twice.
This does not happen when I trigger the same switch from the web interface.

Example:

Domoticz App:
2017-04-19 09:17:06.984 User: Administrator initiated a switch command (31/VT_AWAY/On)
2017-04-19 09:17:12.202 EventSystem: Script event triggered: vt_away
2017-04-19 09:17:12.238 User: Administrator initiated a switch command (31/VT_AWAY/On)
2017-04-19 09:17:17.511 EventSystem: Script event triggered: vt_away
...
Domoticz Web:
2017-04-19 09:13:29.201 User: Administrator initiated a switch command (31/VT_AWAY/On)
2017-04-19 09:13:34.422 EventSystem: Script event triggered: vt_away
...

Anyone else noticed this behavior?
Last edited by tequila on Friday 21 April 2017 8:20, edited 1 time in total.
jannl
Posts: 625
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Geleen
Contact:

Re: Domoticz app 2.0

Post by jannl »

The app always wants to enable wifi scanning for geofencing. I really do not want this because it drains batteries. Besides that geofencing does not work always, looks like the must have been started or so.

Verstuurd vanaf mijn SM-G930F 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 2.0

Post by galadril »

Winne0345 wrote:It is possible to change that behavior?
Or is this too complicated?
Sorry not really high om my agenda at this moment..
busy days now I'm rebuilding the total app also for iOS :-)
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 2.0

Post by tequila »

tequila wrote:Hey everyone,

I am having a strange issue - when I turn a virtual switch on/off from dashboard using the Domoticz App, it always triggers the command twice.
This does not happen when I trigger the same switch from the web interface.

Example:

Domoticz App:
2017-04-19 09:17:06.984 User: Administrator initiated a switch command (31/VT_AWAY/On)
2017-04-19 09:17:12.202 EventSystem: Script event triggered: vt_away
2017-04-19 09:17:12.238 User: Administrator initiated a switch command (31/VT_AWAY/On)
2017-04-19 09:17:17.511 EventSystem: Script event triggered: vt_away
...
Domoticz Web:
2017-04-19 09:13:29.201 User: Administrator initiated a switch command (31/VT_AWAY/On)
2017-04-19 09:13:34.422 EventSystem: Script event triggered: vt_away
...

Anyone else noticed this behavior?
I think I figured out what is going on here. When a switch triggers a lua scrip that takes a few seconds to run, for some reason the Domoticz App triggers the action twice. This does not happen from the web interface with the same switch and same lua script triggered.
In my case, a sript was playing a sound - os.execute ("aplay /home/pi/domoticz/scripts/sounds/sound.wav &") - and I was missing the "&" at the end, so the script was waiting for the sound to finish (5 seconds or something like that).
Once I added the "&" and the script was no longer waiting for the sound, the problem with executing it twice from the Domoticz App disappeared.
sbaloo
Posts: 10
Joined: Wednesday 15 February 2017 18:20
Target OS: -
Domoticz version:
Contact:

Re: Domoticz app 2.0

Post by sbaloo »

Hi

do you plan to update the app to be able to be use on ancroid wear 2.0. For now i can't have it

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

Re: Domoticz app 2.0

Post by galadril »

sbaloo wrote:do you plan to update the app to be able to be use on android wear 2.0. For now i can't have it

Its not working on 2.0?
I only have old moto 360 1st gen device..
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
Thomasdc
Posts: 133
Joined: Wednesday 11 March 2015 19:13
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: Domoticz app 2.0

Post by Thomasdc »

Thomasdc wrote:Hi!

I have a question regarding the Widgets

I like this because this makes 'shortcuts' right on the home screen from my phone.
But i used to have 'imperihome' and there the 'shortcuts' were not Widgets but simple 'shortcuts' --> this give te benefit of grouping them in a folder

So this i my request --> instead of using widgets, using 'shortcuts' that can be placed in a folder on the homescreen
--> 1X1 widget for togle devices
or add an option 'create shortcut' from a scene/toggleswitch (just like imperihome does)

why?
grouping is just nice, and also to prevent unwanted touches
(i have a button to open the gate --> so when i accidentally push it it will open --> when its in a folder i need to open the folder first and than te button --> that way i wont accidentally open the gate and if i want to open te gate its still verry fast accessible.)

I also have a 'graphic/design' proposal for with the widgets .. would it be possible to add the option 'no background/fully transparant background' ?

is this something that would be possible? those "shortcuts" .. because with the widget it happens that i accidently push it... and then my door is open..
with shortcuts i dont have that problem because i can 'group' them so i have to push first once to open the folder and a second time for opening the door in my case.. so when i accidently open the 'group' i dont have my door opened. ;)

i dont know if its clear what i mean.. otherwise i will try make some screenshots...
User avatar
galadril
Posts: 824
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: Domoticz app 2.0

Post by galadril »

Thomasdc wrote: is this something that would be possible? those "shortcuts" .. because with the widget it happens that i accidently push it... and then my door is open..
with shortcuts i dont have that problem because i can 'group' them so i have to push first once to open the folder and a second time for opening the door in my case.. so when i accidently open the 'group' i dont have my door opened. ;)

i dont know if its clear what i mean.. otherwise i will try make some screenshots...
I think you mean something like this right?
https://guides.codepath.com/android/Cre ... n-Launcher
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
Thomasdc
Posts: 133
Joined: Wednesday 11 March 2015 19:13
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: Domoticz app 2.0

Post by Thomasdc »

galadril wrote:
Thomasdc wrote: is this something that would be possible? those "shortcuts" .. because with the widget it happens that i accidently push it... and then my door is open..
with shortcuts i dont have that problem because i can 'group' them so i have to push first once to open the folder and a second time for opening the door in my case.. so when i accidently open the 'group' i dont have my door opened. ;)

i dont know if its clear what i mean.. otherwise i will try make some screenshots...
I think you mean something like this right?
https://guides.codepath.com/android/Cre ... n-Launcher
i didn't even think of that, but that seems also nice,

what i meant was just "shortcuts" that appear on the homescreen like 'apps' so you can drag them together so it forms a 'folder'

https://goo.gl/photos/TbqrJ42UcFnZT8WS8

in the link is a video of how i use it with Imperihome
in the video i open the "imperihome" app, the 'scenes' tab, long press it --> and than choose the option 'create chortcut' this way the icon appears on the homescreen of the phone like shown in the video.
when i have serveral i can just drag them togeter.

that way i can not accidently touch it to open my garagedoor.. i first have to open the folder and then click the 'chortcut' to open it..
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests