Ok, are you familiar with the karaf konsole?
It is started with something like " ssh YourMachineIP@localhost -p 8101"
no!
I install openhab in my pc, macOS
should I use other command instead of this: " ssh YourMachineIP@localhost -p 8101"
?
I tried to look with you into the logs. You should be able to set the logging level for persistence.rrd4j to DEBUG. But Iām not familiar with the way you are running openHAB.
Do you run it as a service or just by starting the start.sh?
BTW The command would have been āssh openhab@localhost -p 8101ā the āYourMachineIPā part was WRONG!
I run it by start.sh
āssh openhab@localhost -p 8101ā
Im in!
try: log:set DEFAULT org.openhab.persistence.rrd4j
that will set the logging for rrd4j to DEBUG
after that use log:tail and you will see the constant log!
Wrong again (darned paste and copy
log:set DEBUG org.openhab.persistence.rrd4j
You should be seing entries like:
20:16:00.380 [DEBUG] [sistence.rrd4j.internal.RRD4jService] - Stored 'E10_2' with state '1.258999999999999896971303314785473048686981201171875' in rrd4j database
look for entries with this ā[DEBUG] [sistence.rrd4j.internal.RRD4jService]ā in your log
tnx, i dont have it!
but this line:
[sitemap.internal.SitemapProviderImpl] - Filename home.sitemap
does not match the name default
of the sitemap - please fix this as you might see unexpected behavior otherwise.
is this a problem?
Not for the current problem!
Please leave the logging by hitting āControl-cā. Then ābundle:listā and serch for a line that should looks like:
207 | Active | 80 | 1.9.0 | openHAB RRD4j Persistence Bundle
nad post yours in here.
217 | Active | 80 | 1.9.0 | openHAB RRD4j Persistence Bundle
So your persistence is running!
Since you are already use practically my rrd4j.cfg and rrd4j.persist Iām out of ideas!
Mine is working this way.
I would be rechecking all of them again:
Is the rrd4j.cfg in folder etc/openhab2/services?
Is the rrd4j.persist in folder etc/openhab2/persistence?
Are the persited items all numbers?
Are the item names spelled correctly?
Other then that, I cant do anything else.
thanks a lot
rrd4j.cfg is in openhab/conf/services
rrd4j.persist is in openhab/userdata/persistance
item:
sitemap
can i use other method? what is your suggestion?
mysql or other things?
Your rrd4j.persist is in userdata?
Donāt you have a folder etc/openhab2/persistence?
yes, openhab folder in windows and mac are like this:
rrd4j.persist is in openhab/userdata/persistance folder
It shouldnāt be thereā¦
the correct directory in your case would be: openhab/conf/persistence
Try to position the rrd4j.persist
in there
Are you sure, my windows system shows a folder ā¦/conf/persistence !
That is the next thing to work on!
Show your sitemap file!
You should be using the item name which you are persisting!
mine looks like:
Chart item=E10_1 period=D refresh=300000
so yours should read
Chart item=esp_dht22_t period=1h refresh=10000