this inspired me to finally solve a long standing (minor) frustration I had.
We have 3 squeezeboxes in the main living area (1x Touch, 1x Radio and 1x Receiver). The Receiver is connected to another 'receiver', but this one a of the home theater Onkyo variety. Both receivers are connected to ethernet and are hidden out of view. However since the power consumption is a bit high, the Onkyo receiver is set to automatically shut down. But getting it running again requires pushing the power button, connecting over the network with an app or using the IR remote. So while installing it, I figured having a separate IR 'receiver' (this may be getting confusing) semi-hidden, but with a line of sight, would be OK. However, the IR remote ends up in the same cupboard as the (Onkyo) receiver itself and it's usually too much of a hassle to get it out. In practice, and this was the frustration, the Onkyo receiver was rarely used and that zone was covered by very one-sided sound from the Radio instead. Based on the parent post, I ordered a Wemos D1 mini. I intended to directly send commands to LMS and the Onkyo similar to what Wiredcharlie proposed. However, it turns out the Onky doesn't listen to HTTP or UDP, only TCP, which isn't available in ESPEasy. And since I got a ~1 EUR screen (0.96" OLED) with the D1, it would be nice to have some feedback on that as well. So in the end I had to go with this configuration: Wemos D1 mini <--> MQTT broker <--> Home Assistant <--> LMS | Onky Receiver with the MQTT broker, Home Assistant and LMS all running as containers on a NanopiNeo3. I am sure a more efficient approach is possible, but with my very limited understanding of the ESP, linux and all the protocols, this is what I finally got working. I managed to fit the Wemos D1 mini in a standard light switch faceplate. The central area is 45x45mm with a ~70mm wall box. It fits just barely. I had to modify (cut away) some of the metal bits from the frame, which is now far less rigid, but sufficient for this use. Since my machining skills are nonexistent, I oversized the hole for the screen and covered the rough edges with a 3D printed bezel. WAF is good enough. Power is through a long USB cable from a USB port on a wifi access point mounted in the ceiling. That also provides console/serial access to the D1 (this was an afterthought). Functionality is: - rotation: volume up/down (max. limit for each player hard coded in Home Assistant) - single click: switch between 3 players (to set individual volumes) - double click: toggle play/pause - long click: toggle Onkyo receiver on/off Anyway, thanks Wiredcharlie for the idea, and everyone else here for keeping the squeezeboxes working and very relevant. Wouter 327323273332734 +-------------------------------------------------------------------+ |Filename: 8_SAM_1968.JPG | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=32734| +-------------------------------------------------------------------+ ------------------------------------------------------------------------ nenu's Profile: http://forums.slimdevices.com/member.php?userid=65867 View this thread: http://forums.slimdevices.com/showthread.php?t=113125 _______________________________________________ diy mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/diy
