Sorry for my late answer, but it's OK. I made a mistake in binding name.
Thank you for your answer.
Gilles.
--
You received this message because you are subscribed to a topic in the Google Groups "openhab" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openhab/b84UpXBr-Ho/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "openhab" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openhab/b84UpXBr-Ho/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
--
sudo keytool -delete -alias StartCom-Root-CA -keystore $JAVA_HOME/jre/lib/security/cacerts -storepass changeit
sudo $JAVA_HOME/bin/keytool -import -keystore $JAVA_HOME/jre/lib/security/cacerts -alias StartCom-Root-CA -file api.netatmo.net\ \(ieXGGBU42pKmPQtQ\).cer
Now it seems working ...
Netatmo certificate OS X Yosemite
1st problem OpenHab did not accepted old JRE 1.6 for Netamo bindings needed to update
Upgraded to Java SDK jdk1.8.0_25.jdk
Importing certificate ca.pem and api.netatmo.net.crt in /Library/Java/Home/lib/security/cacerts with no success.
Noticed no jre directory
created directory jre/lib/security
cp carets to above directory
no succes
OpenHab returned message
2015-01-13 12:43:48.940 [ERROR] [g.openhab.io.net.http.HttpUtil] - Fatal transport error: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
checked instal java
/usr/libexec/java_home
/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home
created
JAVA=/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home
excecuted
sudo $JAVA/bin/keytool -import -keystore $JAVA/jre/lib/security/cacerts -alias StartCom-Root-CA -file api.netatmo.net.crt
Succes!!
From the log
2015-01-13 13:00:38.523 [INFO ] [.o.b.n.internal.NetatmoBinding] - The following Netatmo measurements are not yet configured:
2015-01-14 23:00:07.831 [ERROR] [.service.AbstractActiveService] - Error while executing background thread Netatmo Refresh Service
java.lang.NullPointerException: null
at org.openhab.binding.netatmo.internal.NetatmoBinding.execute(NetatmoBinding.java:120) ~[na:na]
at org.openhab.core.binding.AbstractActiveBinding$BindingActiveService.execute(AbstractActiveBinding.java:156) ~[na:na]
at org.openhab.core.service.AbstractActiveService$RefreshThread.run(AbstractActiveService.java:173) ~[na:na]
what should be root cause, and how to solve it?
Now I'm trying increasing the refresh timeout from 5 mins to 10 mins. We'll see.
Thanks for your support, much appreciated
Andrea
Hi All,something I see in my logs:
2015-01-14 23:00:07.831 [ERROR] [.service.AbstractActiveService] - Error while executing background thread Netatmo Refresh Service
java.lang.NullPointerException: null
at org.openhab.binding.netatmo.internal.NetatmoBinding.execute(NetatmoBinding.java:120) ~[na:na]
at org.openhab.core.binding.AbstractActiveBinding$BindingActiveService.execute(AbstractActiveBinding.java:156) ~[na:na]
at org.openhab.core.service.AbstractActiveService$RefreshThread.run(AbstractActiveService.java:173) ~[na:na]
what should be root cause, and how to solve it?
Thanks for your support, much appreciated
Andrea
--
You received this message because you are subscribed to a topic in the Google Groups "openhab" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openhab/b84UpXBr-Ho/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
To view this discussion on the web visit https://groups.google.com/d/msgid/openhab/6f96021c-68b5-452c-9f65-f59a93df5980%40googlegroups.com.
2015-01-31 17:28:49.213 [ERROR] [g.openhab.io.net.http.HttpUtil] - Fatal transport error: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2015-01-31 17:28:49.235 [ERROR] [.service.AbstractActiveService] - Error while executing background thread Netatmo Refresh Service
org.openhab.binding.netatmo.internal.NetatmoException: Could not refresh access token!
at org.openhab.binding.netatmo.internal.messages.AbstractRequest.newException(AbstractRequest.java:48) ~[na:na]
at org.openhab.binding.netatmo.internal.messages.RefreshTokenRequest.execute(RefreshTokenRequest.java:64) ~[na:na]
at org.openhab.binding.netatmo.internal.NetatmoBinding$OAuthCredentials.refreshAccessToken(NetatmoBinding.java:497) ~[na:na]
at org.openhab.binding.netatmo.internal.NetatmoBinding.execute(NetatmoBinding.java:101) ~[na:na]
at org.openhab.core.binding.AbstractActiveBinding$BindingActiveService.execute(AbstractActiveBinding.java:156) ~[na:na]
at org.openhab.core.service.AbstractActiveService$RefreshThread.run(AbstractActiveService.java:173) ~[na:na]
Caused by: java.lang.NullPointerException: null
at java.io.StringReader.<init>(StringReader.java:50) ~[na:1.8.0_31]
at org.codehaus.jackson.JsonFactory.createJsonParser(JsonFactory.java:636) ~[na:na]
at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1854) ~[na:na]
at org.openhab.binding.netatmo.internal.messages.RefreshTokenRequest.execute(RefreshTokenRequest.java:59) ~[na:na]
... 4 common frames omitted
sudo $JAVA_HOME/bin/keytool -import -keystore $JAVA_HOME/jre/lib/security/cacerts -alias StartCom-Root-CA -file api.netatmo.net\ \(ieXGGBU42pKmPQtQ\).cer
But would be nice to fix this issue, if possible.
Thank you very much for your support
Andrea
2015-09-07 21:59:46.043 [ERROR] [g.openhab.io.net.http.HttpUtil] - Fatal transport error: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2015-09-07 21:59:46.090 [ERROR] [.service.AbstractActiveService] - Error while executing background thread Netatmo Refresh Service
org.openhab.binding.netatmo.internal.NetatmoException: Could not refresh access token!
at org.openhab.binding.netatmo.internal.messages.AbstractRequest.newException(AbstractRequest.java:48) ~[na:na]
at org.openhab.binding.netatmo.internal.messages.RefreshTokenRequest.execute(RefreshTokenRequest.java:64) ~[na:na]
at org.openhab.binding.netatmo.internal.NetatmoBinding$OAuthCredentials.refreshAccessToken(NetatmoBinding.java:497) ~[na:na]
at org.openhab.binding.netatmo.internal.NetatmoBinding.execute(NetatmoBinding.java:101) ~[na:na]
at org.openhab.core.binding.AbstractActiveBinding$BindingActiveService.execute(AbstractActiveBinding.java:156) ~[na:na]
at org.openhab.core.service.AbstractActiveService$RefreshThread.run(AbstractActiveService.java:173) ~[na:na]
Caused by: java.lang.NullPointerException: null
at java.io.StringReader.<init>(StringReader.java:50) ~[na:1.8.0_31]
at org.codehaus.jackson.JsonFactory.createJsonParser(JsonFactory.java:636) ~[na:na]
at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1854) ~[na:na]
at org.openhab.binding.netatmo.internal.messages.RefreshTokenRequest.execute(RefreshTokenRequest.java:59) ~[na:na]
... 4 common frames omitted