Fresh Setup.
The openHAB version with my 389 Items is not on a Pi.
I am clueless.
Fresh Setup.
The openHAB version with my 389 Items is not on a Pi.
I am clueless.
check something in the consoleā¦
config:list "(service.pid=org.openhab.influxdb)"
and compare the output to your /etc/openhab2/services/influxdb.cfg
check also: /var/lib/openhab2/config/org/openhab/influxdb.config
openhab> config:list "(service.pid=org.openhab.influxdb)"
----------------------------------------------------------------
Pid: org.openhab.influxdb
BundleLocation: null
Properties:
db = openhab_db
password = SneekyLittleHobbits
retentionPolicy = autogen
service.pid = org.openhab.influxdb
url = http://127.0.0.1:8086
user = openhab
/var/
db="openhab_db"
password="SneekyLittleHobbits"
retentionPolicy="autogen"
service.pid="org.openhab.influxdb"
url="http://127.0.0.1:8086"
user="openhab"
looks goodā¦
I donāt know what else to suggestā¦
Here is my TRACE log from my influxdb persistence service (working fine):
29-Aug-2017 18:03:41.880 [TRACE] [tence.influxdb.internal.InfluxDBPersistenceService] - Tried to get item from item class class org.openhab.core.library.items.NumberItem, state is 64.8
29-Aug-2017 18:03:41.881 [TRACE] [tence.influxdb.internal.InfluxDBPersistenceService] - found fractional part
29-Aug-2017 18:03:41.881 [DEBUG] [tence.influxdb.internal.InfluxDBPersistenceService] - got DecimalType value 64.8
29-Aug-2017 18:03:41.882 [TRACE] [tence.influxdb.internal.InfluxDBPersistenceService] - storing mP6_01_01_P in influxdb value 64.8, mP6_01_01_P (Type=NumberItem, State=64.8)
29-Aug-2017 18:03:41.884 [TRACE] [tence.influxdb.internal.InfluxDBPersistenceService] - Tried to get item from item class class org.openhab.core.library.items.NumberItem, state is 234
29-Aug-2017 18:03:41.884 [TRACE] [tence.influxdb.internal.InfluxDBPersistenceService] - found no fractional part
29-Aug-2017 18:03:41.885 [DEBUG] [tence.influxdb.internal.InfluxDBPersistenceService] - got DecimalType value 234
29-Aug-2017 18:03:41.886 [TRACE] [tence.influxdb.internal.InfluxDBPersistenceService] - storing mP6_01_01_V in influxdb value 234, mP6_01_01_V (Type=NumberItem, State=234)
29-Aug-2017 18:03:41.887 [TRACE] [tence.influxdb.internal.InfluxDBPersistenceService] - Tried to get item from item class class org.openhab.core.library.items.NumberItem, state is 8.3
29-Aug-2017 18:03:41.887 [TRACE] [tence.influxdb.internal.InfluxDBPersistenceService] - found fractional part
29-Aug-2017 18:03:41.888 [DEBUG] [tence.influxdb.internal.InfluxDBPersistenceService] - got DecimalType value 8.3
29-Aug-2017 18:03:41.897 [TRACE] [tence.influxdb.internal.InfluxDBPersistenceService] - storing mP6_01_02_P in influxdb value 8.3, mP6_01_02_P (Type=NumberItem, State=8.3)
...(aloooot of entries)...
Hey guys, Iām also unsure whatās going on here. As it seems like the connection is established without issues, Iād suspect the persist file to be faulty, leading to no persistence. Try to recreate the file. Here is mine.
we hijacked your thread!
seems so (but Elias fixed it)ā¦
Posting this here as I think most of the people watching this thread might be interested and may miss my main posting.
HI, when use openhab cloud to access basic_ui, I aware grafana is not showing,
is there anyway that I can make it show? limit from to local setting or cloud end setting?
your local grafana server (ip address) is probably not available from the Internet.
for Grafana, you can not specify a local address, for example http://192.168.1.10:3000 or http: // localhost: 3000, you need to specify the external address of the server with the free port 3000 port.
not work Android app, works only āWebviewā Element
Iāve found the opposite. Image works just fine and Webview doesnāt work in the Android app.
Sample of my current setup:
Switch item=aChart_Period label="" mappings=[0="Hour", 1="Day", 2="Week", 3="Month"]
Image label="Temperatures" refresh=60000 visibility=[aChart_Period==0] url="http://argus.koshak.net:3000/render/dashboard-solo/db/home-automation?orgId=1&from=now-1h&to=now&panelId=1&theme=light&width=1000&height=500&tz=UTC-06%3A00"
Image label="Temperatures" refresh=60000 visibility=[aChart_Period==1] url="http://argus.koshak.net:3000/render/dashboard-solo/db/home-automation?orgId=1&from=now-1d&to=now&panelId=1&theme=light&width=1000&height=500&tz=UTC-06%3A00"
Image label="Temperatures" refresh=60000 visibility=[aChart_Period==2] url="http://argus.koshak.net:3000/render/dashboard-solo/db/home-automation?orgId=1&from=now-1w&to=now&panelId=1&theme=light&width=1000&height=500&tz=UTC-06%3A00"
Image label="Temperatures" refresh=60000 visibility=[aChart_Period==3] url="http://argus.koshak.net:3000/render/dashboard-solo/db/home-automation?orgId=1&from=now-1M&to=now&panelId=1&theme=light&width=1000&height=500&tz=UTC-06%3A00"
Note that argus.koshak.net:3000 is my local DNS path to Grafana and not accessible on the internet. It isnāt terribly fast but it works just fine through myopenhab.org.
Thanks for your reply
do you mean change in grafana.ini domain = xxx? and it have to be a public domain and canāt be private ip?
so I also need to change basic UI URL from private to public?
like DDNS?
I do not understand. Your examples do not work for me. Only Webview works.
your examples (I tried different versions of altered experiments. nothing succeeded):
Image label="SpeedTest" refresh=60000 url="http://192.168.1.25:3000/render/dashboard-solo/db/openhab?from=now-1h&to=now&panelId=1&theme=light&width=490&height=351&tz=UTC-06%3A00"
Image label="SpeedTest" refresh=60000 url="http://192.168.1.25:3000/render/dashboard-solo/db/openhab?panelId=1&theme=light&width=490&height=351"
Image label="SpeedTest" refresh=60000 url="http://edgi-server:3000/render/dashboard-solo/db/openhab?orgId=1&from=now-1w&to=now&panelId=1&theme=light&$
Image label="SpeedTest" refresh=60000 url="http://edgi-server:3000/render/dashboard-solo/db/openhab?orgId=1&from=now-1M&to=now&panelId=1&theme=light&$
Webview work:
Webview url="http://192.168.1.25:3000/render/dashboard-solo/db/openhab?panelId=1&width=490&height=351&from=now-12h&to=now"
`
I donāt know what to tell you.
Iāve tried webviews and Iāve never been able to get any webview to work in the Android App when Iām connected remotely through myopenhab.org.
The only way Iāve ever been able to get charts in the Android app when connected remotely through myopenhab.org is to have Grafan prerender the graphs and put them on my sitemap using the Image tag.
When you go into Grafana and click on āShareā for one of your charts, there is a little link at the bottom that says āDirect link rendered imageā. That is the URL you need to put on your sitemap with the Image element.
This code is actively working for my right now running an oldish OH 2.2 Snapshot (around built 1000, just before the log4j2 change) and the latest Android app from the Play Store.
HI Rich,
How are you, do you mind advise how to set local DNS and not accessible on the inetrnet?
does local DNS path should set as (192.xxx.xxx.xxx)?
Thanks in advance.
Ham
Itās a feature I can set up in my router. If your router doesnāt d support it you will have to look it up on Google.
Is anyone able to help me decipher why my grafana chart is showing the incorrect amount on the chart for total memory? I must have set something up wrong? It seems to be showing as the total of both total memory and used memoryā¦
And that is exactly what youāve configured I suspect Itās pretty clear because of these little bumps. Go to āDisplayā and disable āStackā
@hamwong have a look here