n8henrie/fauxmo

Error occured on Echo Spot after Webhook

Opened this issue · 2 comments

  • Operating system and version: Raspian
  • Python version: 3.6
  • Fauxmo version (fauxmo --version): 0.4.8
  • Echo device type (e.g. Echo, Echo Plus, Dot): Echo Spot
  • Echo Firmware Version:

My Issue

I emulate a swith for opening / closing my Velux.
The Off button work correctly.
The On button function correctly but the Echo Spot said "an error occured". I think the problem come with the echo trying to have a status ?

Here is my config file :

"FAUXMO": {
        "ip_address": "auto"
    },
    "PLUGINS": {
        "SimpleHTTPPlugin": {
            "DEVICES": [
                {
                    "port": 12340,
                    "on_cmd": "https:/URL-TO-WEBHOOK-ON",
                    "off_cmd": "https:/URL-TO-WEBHOOK-OFF",
                    "state_response_off" : "Velux ferme",
                    "state_response_on" : "Velux ouvert",
                    "state_cmd": "FAKE RESPONSE SIMILAR TO END OF https://github.com/n8henrie/fauxmo/blob/master/protocol_notes.md",
                    "on_data": {"isOn": 1},
                    "off_data" : {"isOn": 0},
                    "method": "GET",
                    "name": "Volets"
                }
            ]
        }
    }
}

WHYT


Please make sure you've taken these steps before submitting a new issue:

  • Try to reproduce the issue with Fauxmo installed in a
    venv
  • Ensure you're running a supported version of Python
    • Requires Python >= 3.2 for Fauxmo < 0.3.0
    • Requires Python >= 3.4.4 for Fauxmo >= 0.3.0
    • Requires Python >= 3.6.0 for Fauxmo >= 0.4.0
  • Run Fauxmo in debug mode (-vvv) and include relevant output
  • Include your Fauxmo config.json
  • Search the existing (including closed) issues
  • Please use codeblocks around your debug output and config

I haven't gotten a reply, so I'm closing this issue as dead. Please feel free to let me know if I should re-open.