alaub81 / openhab Goto Github PK
View Code? Open in Web Editor NEWopenHAB Setup and Tools
Home Page: https://www.laub-home.de/wiki/OpenHAB_3_Docker_Installation
openHAB Setup and Tools
Home Page: https://www.laub-home.de/wiki/OpenHAB_3_Docker_Installation
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?
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 :)
Hallo,
das sind ja tolle Scripte, danke dafür.
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!
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.