Page 1 of 1

Toon App New Onkyo & Pioneer Controller

PostPosted: Thu Oct 01, 2020 7:23 pm
by oepi-loepi
2 options:

First option is to use a flashed Wemos D1 Mini as websocket controller
Second option is to use Domoticz as http controller


Image

Onkyo or Pioneer (after 2016) receiver needed
To use with Domoticz (without Wemos, please sceoll down)

---------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------

To use with WebSockets (best option)
Wemos D1 mini needed

1. Make sure your receiver has a static network adress
2. Install esptool.exe from https://github.com/igrr/esptool-ck/releases/tag/0.4.13
3. get the latest 2 bin .bin files from https://github.com/oepi-loepi/OnkyoSock ... 266-bridge
4. if you flash an old Wemos D1 mini, first flash the blank 4MB bin file with esptool
5. flash the Onkyo ESCP file with the flash tool

Image

Image

Image

6. After this reset the Wemos D1 Mini and connect your wifi to the AutoConnectAP wifi network.

Image

7. If the configusration page does not open go to 192.168.4.1

Image

8. Enter the wifi credentials, Onkyo adress and select a static IP address for the Wemos D1 mini.

Image

9. Click Save.
10. Update your Toon to the newest firmware, Websockets plugin will be installed automatically.
11. Install the app OnkyoSocket form the Toon store.
12. Add OnkyoSocket to a tile.

Image

13. Click the tile and set the configuration parameters. To use the Socket and the Wemos, slide the top slider to the right. ESP8266 IP is the ip address of the Wemos D1 mini.

Image

14. Select "Show in Sleepmodeā€ to have Toon to show title and artist on the screen when in Sleepmode.

Image

Image

15. Click "Save" on the right hand top corner.
16. Now put some music on the receiver (Spotify over Airplay for instance) and let the magic happen. Sometimes it will take some minutes after a new setup, this is normal..

17. To reset all settings on the Wemos D1 Mini you can go to the webpage of the Wemos D1 Mini in a browser.

Image

---------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------

To use with Domoticz
Domoticz needed

1 .Install the Onkyo receiver on Domoticz using the standard Hardware plugin. After installation go to Devices tab in Domoticz and write down the IDX numbers marked in Yellow:

Image

2. On Toon, update to the latest firmware and install the app from the Toonstore.
3. Create a tile and click the tile to go to the settings menu.
4. Move the top slider to the left to get the domoticz options.

Image

Fill all fields with the Domoticz data and click Save:

When the option "Show in Sleepmode" is selected, the tile will show the trackname and artistname during power on when the Toon is in sleepmode:

Image
Image

Re: Toon App New Onkyo & Pioneer Controller

PostPosted: Sat Jan 09, 2021 12:41 pm
by Templar
Hi oepi-loepi,

Nice program, but why use the Wemos or Domoticz as the interface/controller? It's possible to control the Onkyo directly.

Templar

Re: Toon App New Onkyo & Pioneer Controller

PostPosted: Sat Jan 09, 2021 7:34 pm
by oepi-loepi
Templar wrote:Hi oepi-loepi,

Nice program, but why use the Wemos or Domoticz as the interface/controller? It's possible to control the Onkyo directly.

Templar


How ? The Onkyo needs TCP Packets and those are not supported by Toon.

Re: Toon App New Onkyo & Pioneer Controller

PostPosted: Sat Jan 09, 2021 8:10 pm
by Templar
oepi-loepi wrote:
Templar wrote:Hi oepi-loepi,

Nice program, but why use the Wemos or Domoticz as the interface/controller? It's possible to control the Onkyo directly.

Templar


How ? The Onkyo needs TCP Packets and those are not supported by Toon.


Ah, I didn't knew that was a limitation of Toon. I thought Toon had full ethernet access.

Re: Toon App New Onkyo & Pioneer Controller

PostPosted: Sat Jan 09, 2021 10:10 pm
by oepi-loepi
Templar wrote:
oepi-loepi wrote:
Templar wrote:Hi oepi-loepi,

Nice program, but why use the Wemos or Domoticz as the interface/controller? It's possible to control the Onkyo directly.

Templar


How ? The Onkyo needs TCP Packets and those are not supported by Toon.


Ah, I didn't knew that was a limitation of Toon. I thought Toon had full ethernet access.


No problem but you can easily program a wemos. And they are extremely cheap (ab. 2 euros).

Re: Toon App New Onkyo & Pioneer Controller

PostPosted: Sun Jan 10, 2021 12:50 am
by Templar
Well, I replaced my Onkyo with a Denon network receiver, which also uses TCP connections.

Denon AVR Network Protocol
Communication port : TCP port 23 (telnet)

HEOS
The HEOS products can be discovered using the UPnP SSDP protocol. Through discovery, the IP address of the HEOS products can be retrieved. Once the IP address is retrieved, a telnet connection to port 1255 can be opened to access the HEOS CLI and control the HEOS system.

Re: Toon App New Onkyo & Pioneer Controller

PostPosted: Sun Jan 10, 2021 5:06 pm
by oepi-loepi
Templar wrote:Well, I replaced my Onkyo with a Denon network receiver, which also uses TCP connections.

Denon AVR Network Protocol
Communication port : TCP port 23 (telnet)

HEOS
The HEOS products can be discovered using the UPnP SSDP protocol. Through discovery, the IP address of the HEOS products can be retrieved. Once the IP address is retrieved, a telnet connection to port 1255 can be opened to access the HEOS CLI and control the HEOS system.


Yes and TCP is not http in this case