MikeTheTux / openhab

0 stars 0 forks source link

Enable Landroid Bridge #5

Closed MikeTheTux closed 5 years ago

MikeTheTux commented 5 years ago

https://github.com/weweave/landroid-bridge https://github.com/MeisterTR/ioBroker.landroid-s https://github.com/MeisterTR/ioBroker.landroid-s/issues/15

MikeTheTux commented 5 years ago

https://www.symcon.de/forum/threads/37943-Worx-Landroid-S700i-%28bzw-alle-S-Modelle%29-mittels-Windows-Software-IPS-steuern https://forums.homeseer.com/forum/3rd-party-developer-area/general-developer-discussion/stefxx/1248872-worx-landroid-robot-lawn-mower https://community.openhab.org/t/worx-landroid-s-with-openhab/43656 https://github.com/mapbox/node-sqlite3#source-install https://www.roboter-forum.com/index.php?thread/22795-entwicklungsprojekt-worx-landroid-kress-mission-desktop-app/&highlight=entwicklungsprojekt%2F https://www.symcon.de/forum/threads/37905-Worx-Landroid-CSV-wie-Werte-in-einzelne-Variablen-schreiben https://community.openhab.org/t/worx-landroid-s-with-openhab/43656 https://github.com/weweave/landroid-bridge https://github.com/openhab/openhab2-addons/issues/3440 https://www.roboter-forum.com/index.php?thread/22535-landroid-s-in-smarthome-einbinden-endlich-m%C3%B6glich/&pageNo=1 https://docs.oracle.com/javase/7/docs/api/java/util/Formatter.html#syntax

    public static STATUS_CODES = {
        0: "Idle",
        1: "Home",
        2: "Start sequence",
        3: "Leaving home",
        4: "Follow wire",
        5: "Searching home",
        6: "Searching wire",
        7: "Mowing",
        8: "Lifted",
        9: "Trapped",
        10: "Blade blocked",
        11: "Debug",
        12: "Remote control",
        30: "Going home",
        32: "Cutting edge",
        33: "Searching area",
        34: "Pause"
    };

    public static ERROR_CODES = {
        0: "No error",
        1: "Trapped",
        2: "Lifted",
        3: "Wire missing",
        4: "Outside wire",
        5: "Rain delay",
        6: "Close door to mow",
        7: "Close door to go home",
        8: "Blade motor blocked",
        9: "Wheel motor blocked",
        10: "Trapped timeout",
        11: "Upside down",
        12: "Battery low",
        13: "Reverse wire",
        14: "Charge error",
        15: "Timeout finding home"
};
MikeTheTux commented 5 years ago
sudo apt-get install libsqlite3-dev
npm install sqlite3 --build-from-source --sqlite=/usr
MikeTheTux commented 5 years ago

https://github.com/mapbox/node-sqlite3/issues/933

MikeTheTux commented 5 years ago

https://community.openhab.org/t/my-landroid-s-roboter-mower/47569/8

MikeTheTux commented 5 years ago

convert landroid/status/batteryCharging from string to switch

MikeTheTux commented 5 years ago

https://github.com/weweave/landroid-bridge/pull/47 Changing the namespace to mqttCloud seems to fix the issue and makes the bridge work with new Worx API.