Giter Site home page Giter Site logo

alaub81 / openhab Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 52 KB

openHAB Setup and Tools

Home Page: https://www.laub-home.de/wiki/OpenHAB_3_Docker_Installation

Shell 100.00%
docker docker-compose grafana mosquitto openhab openhab3 postgres renderer scripts smarthome

openhab's People

Contributors

alaub81 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

nett-media

openhab's Issues

Tutorial Issues

Hallo, erstmal vielen dank für das gute Tutorial:
https://www.laub-home.de/wiki/OpenHAB_3_Docker_Installation

Jedoch stoße ich auf einige Fehler:
Der User -> Read Only User (openhab_ro) wurde nie angelegt. Es würde nie erklärt bzw gezeigt, kann ich es im nachhinein noch machen ohne neuzustarten?

Es wird immer von InfluxDB 1 und 2 gesprochen aber ich kann nur eins auswählen die werte bleiben gleich.

Ich hbe mein deployment glaube ich eins zu eins wie im tutorial befolgt und nur dann was geändert wenn es auch da stand.

Haben sie einen Tipp für mich?

Error with cleanup-openhab-influxdb2.sh

The OpenHAB -> InfluxDB Cleanup script won't work for me:

awk: fatal: invalid regexp: Invalid regular expression: /"values":[/

I've changed the following line
awk -F '"values":\[' '{ print $2 }' |\
to
awk -F '"values":' '{ print $2 }' |\

and now it finished perfectly without error and deletes the correct Measurements :)

Kein Beispiel in den Scripten wie man das .sh file ausführen soll

Hallo,

das sind ja tolle Scripte, danke dafür.

  1. Anmerkung meiner Seits: Es wäre für Anfänger hilfreich, wenn ein Beispiel im Script auch aufgeführt werden würde, wie der code in der Kommandozeile einzugeben ist, so wie es auf deiner Homepage ist!

  2. drop "DHT22_Temperature" funktioniert nicht, es sollte DROP MEASUREMENT "DHT22_Temperature" heißen, denke ich.
    Die Hochkommas sind wichtig, da sie dann bei solchen Werte Namen wie Smartmeter/Q3D_AVG1min auch funktionieren.
    Denke die Hochkommas sollten auch in die Scripte rein.

Gruß und Dank
Martin

Beispiel auf deiner Seite:

wie immer dem Script das Execute rechte geben:
chmod +x /usr/local/sbin/rename-influxdb-measurement.sh
Dann das Script einfach starten, in dem man ihm den Alten Measurement Namen gibt und darauf gefolgt den Neuen Measurement Namen:

/usr/local/sbin/rename-influxdb-measurement.sh { OldMeasurementName } { NewMeasurementName }
# Beispiel
rename-influxdb-measurement.sh DHT22Temperature DHT22Temperature1

Deployment error from networks

Hi,
i tried to use your yaml to setup openhab with my portainer installation but i can't deploy the stack:

Ignoring unsupported options: network_mode, restart failed to create service openhab_grafana: Error response from daemon: The network openhab_app-nw cannot be used with services. Only networks scoped to the swarm can be used, such as those created with the overlay driver.

Ignoring unsupported options: network_mode, restart failed to create service openhab_mosquitto: Error response from daemon: The network openhab_app-nw cannot be used with services. Only networks scoped to the swarm can be used, such as those created with the overlay driver.

Ignoring unsupported options: network_mode, restart failed to create service openhab_postgres: Error response from daemon: The network openhab_backend-nw cannot be used with services. Only networks scoped to the swarm can be used, such as those created with the overlay driver.

Using docker 24.0.7 and portainer 2.19.4 on a debian 12 vmm

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.