Sonoff in Hombridge einbinden

  • Aber mittlerweile ist es wurst, da man es per WLAN flashen kann

    Leider unter der Voraussetzung, dass man ne Firmware unter 1.60 hat. Sonst geht das nicht mehr.

    Ich hab mir jetzt auch mal 3 bestellt, 2 x Touch und 1 x Pow. Ich bin gespannt, dauert noch etwas, bis die aus CN da sind.

    Ich drücke dir die Daumen, dass du noch welche mit älterer Firmware erwischt. Ich habe zuletzt zwei S20 Steckdosen bekommen, die sich nicht mehr übers WLAN flashen lassen, da 1.60 Firmware. Ich muss Hardwareseitig flashen. Mal schauen ob ich das hinbekomme. ^.^;

  • Zitat

    Anscheinend funktioniert OTA mit manchen Sonoff Firmware-Versionen nicht. Ich selber hatte fünf Sonoff Basic, die ih ohne Probleme OTA mit Tasmota falshen konnte. Gestern hatte ich nun einen Sonoff POW bekommen, bei dem es nicht funktionieren wollte. Der Updateprozess blieb immer im Step 2 hängen. Der POW hatte die Firmware-Version 2.02. Nach einem Update auf die Version 2.04 konnte der POW auch wieder wie gewohnt OTA geflasht werden. Dieses Problem besteht anscheinend ab der FW-Version 1.6. Um die Sonoff-Firmware zu aktualisieren habe ich den POW ganz normal in die Sonoff Cloud integriert und dann über die App auf dem Smartphone aktualisiert.

    gefunden hier https://haus-automatisierung.c…-vorstellung-part-11.html


    vielleicht hilft das weiter

  • Ach das geht mit dem flasher. Hatte auch einen und hab ihn damit geflasht. War etwas mühselig die ganze Software usw zusammen zu bekommen, hat aber geklappt nach ein paar versuchen und Einstellungen.


    Der flasher kostet 4€ ca


    Werde jetzt 6 Stück aus China bestellen.

  • @Marco73

    muss das so aussehen?


    Jetzt wird die Homebridge nicht mehr gefunden.


    pi@raspberrypi:~ $ sudo npm i Homebridge-sonoff-tasmota-http -g

    npm ERR! code E404

    npm ERR! 404 Not Found: Homebridge-sonoff-tasmota-http@latest


    npm ERR! A complete log of this run can be found in:

    npm ERR! /root/.npm/_logs/2018-02-24T19_45_27_101Z-debug.log

  • Marco73

    Raspi neu aufgesetzt.

    Habe das gleiche Problem.

    Alle Apps haben die gleich Fehlermeldung: keine Antwort

    hier mein config.

    {

    "bridge":{

    "name":"Homebridge",

    "username":"CD:22:3D:E3:CE:62",

    "port":51826,

    "pin":"031-45-238"

    },

    "accessories":[

    {

    "ip":"192.168.178.1",

    "accessory":"NetworkDevice",

    "pingInterval":"15",

    "mac":"EX:AM:PL:E:PC",

    "wakeGraceTime":"20",

    "name":"Example PC",

    "shutdownGraceTime":"45"

    },

    {

    "accessory":"RaspberryPiTemperature",

    "name":"Pi Temp"

    },

    {

    "accessory":"CommandGarageDoor",

    "manufacturer":"selfmade",

    "simulateTimeOpening":3,

    "model":"model x",

    "serialnumber":"y",

    "simulateTimeOpen":5,

    "command":"curl http://192.168.178.57/cm?cmnd=Power1%20TOGGLE",

    "name":"Hofeinfahrt",

    "simulateTimeClosing":2

    },

    {

    "accessory":"SonoffTasmotaHTTP",

    "name":"Garten",

    "hostname":"192.168.178.53"

    }

    ]

    }

  • Marco73


    *** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.

    *** WARNING *** Please fix your application to use the native API of Avahi!

    *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>

    *** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.

    *** WARNING *** Please fix your application to use the native API of Avahi!

    *** WARNING *** For more information see <http://0pointer.de/avahi-compa…node&f=DNSServiceRegister>

    [2018-3-1 15:23:46] Loaded plugin: homebridge-commandgaragedoor

    [2018-3-1 15:23:46] Registering accessory 'homebridge-commandgaragedoor.CommandGarageDoor'

    [2018-3-1 15:23:46] ---

    [2018-3-1 15:23:46] Loaded plugin: homebridge-people

    [2018-3-1 15:23:46] Registering accessory 'homebridge-people.people'

    [2018-3-1 15:23:46] ---

    [2018-3-1 15:23:46] Loaded plugin: homebridge-raspberrypi-temperature

    [2018-3-1 15:23:46] Registering accessory 'homebridge-raspberrypi-temperature.RaspberryPiTemperature'

    [2018-3-1 15:23:46] ---

    [2018-3-1 15:23:46] Loaded plugin: homebridge-wol

    [2018-3-1 15:23:46] Registering accessory 'homebridge-wol.NetworkDevice'

    [2018-3-1 15:23:46] ---

    [2018-3-1 15:23:46] Loaded config.json with 4 accessories and 0 platforms.

    [2018-3-1 15:23:46] ---

    [2018-3-1 15:23:46] Loading 4 accessories...

    [2018-3-1 15:23:46] [Example PC] Initializing NetworkDevice accessory...

    [2018-3-1 15:23:46] [Pi Temp] Initializing RaspberryPiTemperature accessory...

    [2018-3-1 15:23:46] [Hofeinfahrt] Initializing CommandGarageDoor accessory...

    /usr/local/lib/node_modules/homebridge/lib/api.js:64

    throw new Error("The requested accessory '" + name + "' was not registered by any plugin.");

    ^


    Error: The requested accessory 'SonoffTasmotaHTTP' was not registered by any plugin.

    at API.accessory (/usr/local/lib/node_modules/homebridge/lib/api.js:64:13)

    at Server._loadAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:264:42)

    at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:86:38)

    at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:40:10)

    at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)

    at Module._compile (module.js:643:30)

    at Object.Module._extensions..js (module.js:654:10)

    at Module.load (module.js:556:32)

    at tryModuleLoad (module.js:499:12)

    at Function.Module._load (module.js:491:3)