Domoticz Premium apk has stopped working

Subforum for general discussions. Do not dump your questions/problems here, but try to find the subforum where it belongs!

Moderators: leecollings, remb0

juankar
Posts: 221
Joined: Saturday 30 August 2014 20:20
Target OS: Linux
Domoticz version: 4.
Location: Spain
Contact:

Re: Domoticz Premium apk has stopped working

Post by juankar »

Yes, you're right
Thanks
User avatar
Marathon2010
Posts: 27
Joined: Tuesday 02 February 2021 23:02
Target OS: NAS (Synology & others)
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: Domoticz Premium apk has stopped working

Post by Marathon2010 »

LucVolders wrote: Sunday 05 November 2023 19:33 You could build your own app and customize it like you want.
I build one for my girlfriend as I did not want her to mess around with settings etc.

It is really easy to build your own app with MIT's app inventor.
But you could equally easy build it in Javascript.

Here is the link to my story on building your own app.
http://lucstechblog.blogspot.com/2018/1 ... n-app.html
Based on your reply I've build my first app as well, great stuff :D. For documenting and knowlegde purposes I'd like to share how I did setup the new security (as from 2023.1). Next is my procedure performAPI to fire the API:
API Headers.jpg
API Headers.jpg (70.56 KiB) Viewed 675 times
DomoticzAPI is the webcomponent defined in MIT app inventor (like you described in your blog).

Variables are:
APIauth has value "Basic QWxhxxxxxxxxkNDpyMFguKj1xxxxx" (so the base64 of <username>:<password>)
APIbase has value "http://<ip address>:<port>/json.htm?type=command&param="
APIdetail is parameter for the performAPI procedure, is for instance "getsettings" to retrieve Domoticz settings.

Will look like below (APIsettings has the value "getsettings" assigned:
Call API.jpg
Call API.jpg (28.44 KiB) Viewed 675 times
Processing is for the rest the same as in your blog, so GotText is used to process responseContent of the API call.
Synology NAS DS920+ DSM7 (Docker) | Integrations: Audio, Heating, Gas, Electricity, Water, Alarm, Car, Camera, Doorbell, Garage | SW: Tasmota, DzVents, Pushbullet | Plugins: GPSLogger, BatteryLevel, Hyundai KIA
ssk17051980
Posts: 112
Joined: Thursday 08 December 2022 22:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: ROMANIA
Contact:

Re: Domoticz Premium apk has stopped working

Post by ssk17051980 »

how do you have all that option in blockly ?
User avatar
Marathon2010
Posts: 27
Joined: Tuesday 02 February 2021 23:02
Target OS: NAS (Synology & others)
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: Domoticz Premium apk has stopped working

Post by Marathon2010 »

It isn't blocky, it's MIT's app inventor. See Luc's blog for more details.
Synology NAS DS920+ DSM7 (Docker) | Integrations: Audio, Heating, Gas, Electricity, Water, Alarm, Car, Camera, Doorbell, Garage | SW: Tasmota, DzVents, Pushbullet | Plugins: GPSLogger, BatteryLevel, Hyundai KIA
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest