Battery powered wall switch to start/pause playback?

Max2Play Home 2016 (en) Forums Max2Play Projects and Builds Battery powered wall switch to start/pause playback?

This topic contains 2 replies, has 2 voices, and was last updated by  alex005 premium 2 years, 10 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • 19. Dezember 2019 at 15:08 #47817

    Hi guys,
    I want to have a Wall Switch (Like a light switch) to start Playback. This should be somehow possible with home automation and sending a http request.

    Has anyone tried that already? Running a full fledged Home automation system is overengineered for this requirement.

    I figured there should be Wall Switches that could just send a http request but so far I couldn’t find one.

    9. Januar 2020 at 13:04 #47902

    Hi alex,

    You can use our API-Examples Plugin to copy and paste such http requests directly from our web interface to the end device of your choice.

    19. Januar 2020 at 15:13 #47942

    In case someone has the same requirement:

    In the end I set up the bigger thing. What I don’t like about it is that have an additional device now that also needs around a Watt of power.

    I use a 433MHz radio Wall Button (for example: – I had one already for a lamp) and a Sonoff RF Bridge ( Re-Flashed with the Open Source Tasmota Firmware (

    With this setup I trigger a script in ioBroker which uses the Sonoff ( and Squeezebox ( ioBroker Adapters .

    Problems I ran into setting this up as a total Noob with ioBroker and the RF Bridge:
    – Buttons in the Bridge have to learn the Codes the Button sends before RfReceived pops up in ioBroker (Run RfKey<#> 2 in Tasmota console).
    – The state of the squeezebox Player has to be set via „Control“ and not the „Update“ command in the Script

    My ioBroker Blocky script:

    (Start Playback when On-Button is pressed between 06:00 and 10:00, Pause Playback when Off-Button is pressed)

    on({id: ’sonoff.0.rf_bridge_wohnzimmer.RfReceived_Data‘, change: „ne“}, function (obj) {
    var value = obj.state.val;
    var oldValue = obj.oldState.val;
    if (getState(„sonoff.0.rf_bridge_wohnzimmer.RfReceived_Data“).val == ‚554415‘) {
    if (compareTime(„06:00“, „null“, „>=“) && compareTime(„10:00“, „null“, „<=“)) {
    setState(„squeezebox.0.wohnzimmerlinks.state“/*wohnzimmerlinks.state*/, 1);
    } else {
    setState(„squeezebox.0.wohnzimmerlinks.state“/*wohnzimmerlinks.state*/, 0);

    • This reply was modified 2 years, 10 months ago by  alex005.
    • This reply was modified 2 years, 10 months ago by  alex005.
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Register here