Giter Site home page Giter Site logo

hadzim / inside-the-loxone-miniserver Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sarnau/inside-the-loxone-miniserver

0.0 0.0 0.0 23.5 MB

Inside The Loxone Miniserver – various documentation about the Loxone Link/Tree protocol and hardware

Python 100.00%

inside-the-loxone-miniserver's Introduction

Inside Loxone Miniserver, Extensions and Devices

I talk about three different device types in this document:

  • Miniserver: the server hardware. At least one is required for a home.
  • Extensions: connected to the Miniserver via the Loxone Link bus.
  • Devices: connected to one of the two Tree Busses behind a Tree Extension or via IPv6 868MHz to an Air Base Extension.

I've split up the documentation into separate parts to make it easier to read, also because Legacy and NAT protocols are completely independent, you only need to care about the one that matters for you.

I am also providing a collection of Python scripts for the Miniserver, feel free to look into them, to see if they are helpful for you.

Code Examples

  • unpackLoxoneMiniserverFirmwareUpdate.py - Uncompresses an *.upd firmware update, which contains the firmware for the Miniserver as well as an update for the Miniserver filesystem.

  • analyzeLoxoneExtensionUpdates.py - Analyzes the firmware updates for Loxone extension and devices (Name, Type, Version, CPU, ROM-Usage, RAM-Usage)

  • loadLoxoneMiniserverStatistics.py - Example on how to load the statistics from the Miniserver via FTP and parse the files for further processing.

  • loadMiniserverConfigurationFile.py - Load the current configuration from the Miniserver and uncompress it, so it can be opened with a text editor. Also describes the load order of configurations.

  • LoxoneMonitorServer.py - A Loxone Monitor Server proxy example to simulate the debugging options Loxone has on your server.

  • LoxoneWeather.py - A Loxone Weather Service proxy, which uses Darksky instead. It supports CSV and XML replies and also tries to match the icons.

  • parseLoxoneSD.py - Parse a ZIP compressed disk image of the Micro-SD card. This can be used to recover files from the SD card directly.

  • decompressMiniserverArchive.py - Decompresses the /commonv2.agz and /images.zip into ./web/. The Miniserver keeps these files compressed and only the webserver serves them uncompressed. There are more files in the /web/ hierarchy, as can be seen with an FTP client:

    • /data/LoxAPP3.json - a simplified version of the configuration
    • /data/weatheru.bin - Recent weather data in 108 byte chunks, see in the network section under Weather Server
    • /stats/index.html - Dynamic webpage with the server statistics
    • /stats/styles.css - CSS for the statistics webpage
  • LoxoneLink.py - Python sample code to analyze the Loxone Link/Loxone Tree protocol, as well as a sample implementation of many extensions and tree devices. Not intended for production, but for learning. It uses USBtin, but you can probably adjust it to other devices with minimal effort.

  • LoxLink - STM32 ARM based sample code can be found here https://github.com/sarnau/LoxLink

inside-the-loxone-miniserver's People

Contributors

sarnau avatar mschlenstedt avatar svethi avatar croghostrider avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.