Thanks, ill look into this..G3rard wrote:Just installed this on my Nvidia shield, looking great.
I can confirm fergalom's issue that the Dashboard is showing all devices in stead of the favorites.
Also when I add a device to the favorites using this app and then remove it, it is still showing on the Dashboard.
Domoticz for Android TV (Leanback)
Moderator: leecollings
- galadril
- Posts: 828
- Joined: Monday 07 September 2015 10:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Contact:
Re: Dromoticz for Android TV (Leanback)
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
https://play.google.com/store/apps/deta ... ongmonitor
- galadril
- Posts: 828
- Joined: Monday 07 September 2015 10:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Contact:
Re: Dromoticz for Android TV (Leanback)
Thanks, found the issue.
Your domoticz is outdated.. they added an extra json call for dashboard/favorites in version #5276 .
Which i'm using...
Your domoticz is outdated.. they added an extra json call for dashboard/favorites in version #5276 .
Which i'm using...
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
https://play.google.com/store/apps/deta ... ongmonitor
- galadril
- Posts: 828
- Joined: Monday 07 September 2015 10:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Contact:
Re: Dromoticz for Android TV (Leanback)
Working on nice overlay popups..
That i could also use for notifications...

That i could also use for notifications...


Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
https://play.google.com/store/apps/deta ... ongmonitor
- galadril
- Posts: 828
- Joined: Monday 07 September 2015 10:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Contact:
Re: Dromoticz for Android TV (Leanback)
It looks like somebody got Android TV installed on a RPiDutchHans wrote:Would be great if it works with a Raspberry pi 1, count me in if you need a tester..

https://www.youtube.com/watch?v=GjrouKD ... e=youtu.be

Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
https://play.google.com/store/apps/deta ... ongmonitor
-
- Posts: 102
- Joined: Tuesday 05 August 2014 22:16
- Target OS: Linux
- Domoticz version: 3.5146
- Location: Sweden
- Contact:
Re: RE: Re: Dromoticz for Android TV (Leanback)
Impressive work!galadril wrote:Working on nice overlay popups..
That i could also use for notifications...![]()
Sent from my Nexus 6P using Tapatalk
- galadril
- Posts: 828
- Joined: Monday 07 September 2015 10:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Contact:
Re: Dromoticz for Android TV (Leanback)
Now working on adding the selector functions:

ps, removed the backgrounds for now.. because of some crash reports..

ps, removed the backgrounds for now.. because of some crash reports..
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
https://play.google.com/store/apps/deta ... ongmonitor
-
- Posts: 77
- Joined: Sunday 06 September 2015 11:58
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Dromoticz for Android TV (Leanback)
Ive finally got to try it out, but havent had much luck yet.
At first start I go through the initial setup, and put in my server info. Next screen the tells me my
domoticz server version, and number of devices. I have reinstalled the app as well, and now it reboots
my shield TV when running the app.
domoticz server version is 3.5557, and shield tv is running 6.0
At first start I go through the initial setup, and put in my server info. Next screen the tells me my
domoticz server version, and number of devices. I have reinstalled the app as well, and now it reboots
my shield TV when running the app.
domoticz server version is 3.5557, and shield tv is running 6.0
-
- Posts: 17
- Joined: Sunday 28 August 2016 17:48
- Target OS: NAS (Synology & others)
- Domoticz version: 3.5574
- Location: Sweden
- Contact:
Re: Dromoticz for Android TV (Leanback)
Hi,
Registered for beta an hour or so ago and was about to install the application from Google Play on my Sony Android TV, however there is a cost associated with it? It this correct, approximately 5 euro?
Registered for beta an hour or so ago and was about to install the application from Google Play on my Sony Android TV, however there is a cost associated with it? It this correct, approximately 5 euro?
- galadril
- Posts: 828
- Joined: Monday 07 September 2015 10:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Contact:
Re: Dromoticz for Android TV (Leanback)
What's the issue?cogliostrio wrote:At first start I go through the initial setup, and put in my server info. Next screen the tells me my
domoticz server version, and number of devices. I have reinstalled the app as well, and now it reboots
my shield TV when running the app
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
https://play.google.com/store/apps/deta ... ongmonitor
- galadril
- Posts: 828
- Joined: Monday 07 September 2015 10:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Contact:
Re: Dromoticz for Android TV (Leanback)
It's a paid app. I can't make it free during beta and change it later (not allowed in Google Play Store)sharif wrote:Registered for beta an hour or so ago and was about to install the application from Google Play on my Sony Android TV, however there is a cost associated with it? It this correct, approximately 5 euro?
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
https://play.google.com/store/apps/deta ... ongmonitor
-
- Posts: 17
- Joined: Sunday 28 August 2016 17:48
- Target OS: NAS (Synology & others)
- Domoticz version: 3.5574
- Location: Sweden
- Contact:
Re: Dromoticz for Android TV (Leanback)
Ok, no worries, just wanted to have it clarified. Thanks for the answer!galadril wrote:It's a paid app. I can't make it free during beta and change it later (not allowed in Google Play Store)sharif wrote:Registered for beta an hour or so ago and was about to install the application from Google Play on my Sony Android TV, however there is a cost associated with it? It this correct, approximately 5 euro?
-
- Posts: 17
- Joined: Sunday 28 August 2016 17:48
- Target OS: NAS (Synology & others)
- Domoticz version: 3.5574
- Location: Sweden
- Contact:
Re: Dromoticz for Android TV (Leanback)
Ok just installed it.
My domoticz version in the profile
TV Sony KD-55X8505C
Android TV version 5.1.1 (latest available from Sony)
Domoticz TV version, 0.1.9 (684)
Initial setup goes well and the last message received was that it connected to my domoticz.
It shows the domoticz version and said it found 18 sensors.
After that, it load initially for maybe 1 second (I can see left side of screen blue where "menu" is supposed to be).
Straight after that screen is just black. In upper right corner it says "Domoticz TV" and ocassionally blue loading circle will appear and disappear.
No other content seen on the screen.
Killing the application didn't help, neither did the restarting the TV
Also when you press "back" on the TV remote its suposed to put the active application into "sleep", but this one seems to suddenly re-take focus (while I am at TV start menu)
Basically it feels like a "loop" of some kind and application will finally give up after maybe a minute or so.
tcpdump confirms that TV actually is talking to the domo. I can see Json requests and 200 reply from domo
Domo webserver did not return any HTTP "error" codes, 200's all the way
edit: forgot to add
I can see domo replying back to the TV with some json Object Member Key and in one of those responses I can see it has sent information back about my hardware (controller etc) and also my z-wave sensors, like wallplugs. So at least response back is not empty
Any clues / ideas?
My domoticz version in the profile
TV Sony KD-55X8505C
Android TV version 5.1.1 (latest available from Sony)
Domoticz TV version, 0.1.9 (684)
Initial setup goes well and the last message received was that it connected to my domoticz.
It shows the domoticz version and said it found 18 sensors.
After that, it load initially for maybe 1 second (I can see left side of screen blue where "menu" is supposed to be).
Straight after that screen is just black. In upper right corner it says "Domoticz TV" and ocassionally blue loading circle will appear and disappear.
No other content seen on the screen.
Killing the application didn't help, neither did the restarting the TV
Also when you press "back" on the TV remote its suposed to put the active application into "sleep", but this one seems to suddenly re-take focus (while I am at TV start menu)
Basically it feels like a "loop" of some kind and application will finally give up after maybe a minute or so.
tcpdump confirms that TV actually is talking to the domo. I can see Json requests and 200 reply from domo
Following "GET" requests can be seen from TV to DomoGET /json.htm?type=devices&filter=all&used=true&favorite=1 HTTP/1.1
Authorization: Basic Og==
User-Agent: Dalvik/2.1.0 (Linux; U; Android 5.1.1; BRAVIA 4K 2015 Build/LMY48E.S243)
Host: 192.168.1.200:8084
Connection: Keep-Alive
Accept-Encoding: gzip
HTTP/1.1 200 OK
Content-Length: 976
Content-Type: application/json;charset=UTF-8
Cache-Control: no-cache
Pragma: no-cache
Access-Control-Allow-Origin: *
Content-Encoding: gzip
Connection: Keep-Alive
Keep-Alive: max=20, timeout=20
Code: Select all
=========================================================================================================================================================================
HTTP/Requests:
Topic / Item Count Average Min val Max val Rate (ms) Percent Burst rate Burst start
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
HTTP Requests by HTTP Host 171 0.0060 100% 0.0200 1.249
192.168.1.200:8084 171 0.0060 100.00% 0.0200 1.249
/json.htm?type=scenes 83 0.0029 48.54% 0.0100 0.499
/json.htm?type=devices&filter=all&used=true&favorite=1 88 0.0031 51.46% 0.0100 0.000
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Code: Select all
=======================================================================================================================================
HTTP/Packet Counter:
Topic / Item Count Average Min val Max val Rate (ms) Percent Burst rate Burst start
---------------------------------------------------------------------------------------------------------------------------------------
Total HTTP Packets 342 0.0119 100% 0.0400 1.249
Other HTTP Packets 0 0.0000 0.00% - -
HTTP Response Packets 171 0.0060 50.00% 0.0200 1.259
???: broken 0 0.0000 0.00% - -
5xx: Server Error 0 0.0000 0.00% - -
4xx: Client Error 0 0.0000 0.00% - -
3xx: Redirection 0 0.0000 0.00% - -
2xx: Success 171 0.0060 100.00% 0.0200 1.259
200 OK 171 0.0060 100.00% 0.0200 1.259
1xx: Informational 0 0.0000 0.00% - -
HTTP Request Packets 171 0.0060 50.00% 0.0200 1.249
GET 171 0.0060 100.00% 0.0200 1.249
---------------------------------------------------------------------------------------------------------------------------------------
I can see domo replying back to the TV with some json Object Member Key and in one of those responses I can see it has sent information back about my hardware (controller etc) and also my z-wave sensors, like wallplugs. So at least response back is not empty
Any clues / ideas?
- galadril
- Posts: 828
- Joined: Monday 07 September 2015 10:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Contact:
Re: Dromoticz for Android TV (Leanback)
Is it possible that i get a view-only account for your system? (PM)sharif wrote:Ok just installed it.
...
Any clues / ideas?
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
https://play.google.com/store/apps/deta ... ongmonitor
-
- Posts: 17
- Joined: Sunday 28 August 2016 17:48
- Target OS: NAS (Synology & others)
- Domoticz version: 3.5574
- Location: Sweden
- Contact:
Re: Dromoticz for Android TV (Leanback)
ok short update...
The screen was not actually pitch black. As I run with very low brightness due to room conditions, it looked black but it wasn't. It's just the domo tv app that "dimmed". Either way, the result is same, menu is empty.
Just for the kick of it , as I saw that your app is doing json request for Scenes as well (and I don't have any atm), I created a dummy Scene which doesn't do anything. The result was somewhat different. Started the app, circle spinning, same result but on top of this it just hangs my TV completely. Hitting the home button on remote (to take you to android tv dashboard) works, but as soon as I touch any button on remote (like scroll down) all content of the dashboard disappears and only visible thing is google now microphone on top.
Reproduced this 3 times and after that I deleted the Scene from Domo and re-installed the app and now its back to square one. Zero output, but at least I don't need to hard reset the TV every time :p
ps. Is it domoticz installation you need access to? As I have it on shared system and closed off from any internet access I am kind of reluctant opening it up, however we could arrange skype or teamviewer session if you want to take a look
The screen was not actually pitch black. As I run with very low brightness due to room conditions, it looked black but it wasn't. It's just the domo tv app that "dimmed". Either way, the result is same, menu is empty.
Just for the kick of it , as I saw that your app is doing json request for Scenes as well (and I don't have any atm), I created a dummy Scene which doesn't do anything. The result was somewhat different. Started the app, circle spinning, same result but on top of this it just hangs my TV completely. Hitting the home button on remote (to take you to android tv dashboard) works, but as soon as I touch any button on remote (like scroll down) all content of the dashboard disappears and only visible thing is google now microphone on top.
Reproduced this 3 times and after that I deleted the Scene from Domo and re-installed the app and now its back to square one. Zero output, but at least I don't need to hard reset the TV every time :p
ps. Is it domoticz installation you need access to? As I have it on shared system and closed off from any internet access I am kind of reluctant opening it up, however we could arrange skype or teamviewer session if you want to take a look
- galadril
- Posts: 828
- Joined: Monday 07 September 2015 10:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Contact:
Re: Dromoticz for Android TV (Leanback)
Maybe if somebody else has an more open system?sharif wrote:ps. Is it domoticz installation you need access to? As I have it on shared system and closed off from any internet access I am kind of reluctant opening it up, however we could arrange skype or teamviewer session if you want to take a look
I can debug the program while running against someone else his domoticz system.. than i can step through the code instead of looking at screens

Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
https://play.google.com/store/apps/deta ... ongmonitor
-
- Posts: 17
- Joined: Sunday 28 August 2016 17:48
- Target OS: NAS (Synology & others)
- Domoticz version: 3.5574
- Location: Sweden
- Contact:
Re: Dromoticz for Android TV (Leanback)
Ok, so you want to debug your application (at your side) towards my domoticz installation?galadril wrote:Maybe if somebody else has an more open system?sharif wrote:ps. Is it domoticz installation you need access to? As I have it on shared system and closed off from any internet access I am kind of reluctant opening it up, however we could arrange skype or teamviewer session if you want to take a look
I can debug the program while running against someone else his domoticz system.. than i can step through the code instead of looking at screens
If so, just PM me your public IP address you are coming from and I can open up in the firewall specifically for it.
- galadril
- Posts: 828
- Joined: Monday 07 September 2015 10:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Contact:
Re: Dromoticz for Android TV (Leanback)
I've uploaded a new beta last night also, that will be available within 3 hours...sharif wrote:Ok, so you want to debug your application (at your side) towards my domoticz installation?
If so, just PM me your public IP address you are coming from and I can open up in the firewall specifically for it.
Please first check if the issue still remains
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
https://play.google.com/store/apps/deta ... ongmonitor
-
- Posts: 17
- Joined: Sunday 28 August 2016 17:48
- Target OS: NAS (Synology & others)
- Domoticz version: 3.5574
- Location: Sweden
- Contact:
Re: Dromoticz for Android TV (Leanback)
ok new version installed, 0.1.10 (745)
It feels much more civilized (it doesn't hang the TV and if I jump back to home screen it doesn't try to steal the focus)
This time when I start the app, after about 10 seconds it shows the "sad cloud" and message that error has occurred along with the Dismiss button.
ps. I got developer mode activated on TV and ES file explorer...in case you have a logfile that you write to or something like that. In that case let me know the path.
I checked internal storage and there is a folder called domoticz containing 4-5 files Scenes, Dashboard etc
It feels much more civilized (it doesn't hang the TV and if I jump back to home screen it doesn't try to steal the focus)
This time when I start the app, after about 10 seconds it shows the "sad cloud" and message that error has occurred along with the Dismiss button.
ps. I got developer mode activated on TV and ES file explorer...in case you have a logfile that you write to or something like that. In that case let me know the path.
I checked internal storage and there is a folder called domoticz containing 4-5 files Scenes, Dashboard etc
- galadril
- Posts: 828
- Joined: Monday 07 September 2015 10:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Contact:
Re: Dromoticz for Android TV (Leanback)
I write cache files, to improve speedsharif wrote:I checked internal storage and there is a folder called domoticz containing 4-5 files Scenes, Dashboard etc

Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
https://play.google.com/store/apps/deta ... ongmonitor
-
- Posts: 17
- Joined: Sunday 28 August 2016 17:48
- Target OS: NAS (Synology & others)
- Domoticz version: 3.5574
- Location: Sweden
- Contact:
Re: Dromoticz for Android TV (Leanback)
That makes sense 
Anyway, let me know if you would like to do the remote debug part against my domoticz installation. Just PM me your IP-address and I'll open up at my end
Have a great day

Anyway, let me know if you would like to do the remote debug part against my domoticz installation. Just PM me your IP-address and I'll open up at my end
Have a great day
Who is online
Users browsing this forum: No registered users and 0 guests