Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Kodiak80
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Kodiak80

    @Kodiak80

    0
    Reputation
    3
    Posts
    374
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Kodiak80 Follow

    Best posts made by Kodiak80

    This user hasn't posted anything yet.

    Latest posts made by Kodiak80

    • RE: openHAB binding

      I'm trying to get a single Dallas Temp sensor displayed in OpenHAB using the Serial Gateway. I'm running the MySensors v2 Dallas Temp sketch, and I'm seeing my sensor in the logs. However, I'm getting the following:

      2016-09-28 07:34:21.805 [ERROR] [i.internal.GenericItemProvider] - Binding configuration of type 'mysensors' of item ?Temperature? could not be parsed correctly.
      java.lang.NullPointerException: null
      	at java.util.regex.Matcher.getTextLength(Matcher.java:1234) ~[na:1.7.0_101]
      	at java.util.regex.Matcher.reset(Matcher.java:308) ~[na:1.7.0_101]
      	at java.util.regex.Matcher.<init>(Matcher.java:228) ~[na:1.7.0_101]
      	at java.util.regex.Pattern.matcher(Pattern.java:1088) ~[na:1.7.0_101]
      	at org.openhab.binding.mysensors.internal.MySensorsGenericBindingProvider.validateItemType(MySensorsGenericBindingProvider.java:57) ~[na:na]
      	at org.openhab.model.item.internal.GenericItemProvider.internalDispatchBindings(GenericItemProvider.java:347) [org.openhab.model.item_1.8.3.jar:na]
      	at org.openhab.model.item.internal.GenericItemProvider.internalDispatchBindings(GenericItemProvider.java:324) [org.openhab.model.item_1.8.3.jar:na]
      	at org.openhab.model.item.internal.GenericItemProvider.processBindingConfigsFromModel(GenericItemProvider.java:171) [org.openhab.model.item_1.8.3.jar:na]
      	at org.openhab.model.item.internal.GenericItemProvider.modelChanged(GenericItemProvider.java:390) [org.openhab.model.item_1.8.3.jar:na]
      	at org.openhab.model.core.internal.ModelRepositoryImpl.notifyListeners(ModelRepositoryImpl.java:159) [org.openhab.model.core_1.8.3.jar:na]
      	at org.openhab.model.core.internal.ModelRepositoryImpl.addOrRefreshModel(ModelRepositoryImpl.java:100) [org.openhab.model.core_1.8.3.jar:na]
      	at org.openhab.model.core.internal.folder.FolderObserver.checkFolder(FolderObserver.java:142) [org.openhab.model.core_1.8.3.jar:na]
      	at org.openhab.model.core.internal.folder.FolderObserver.run(FolderObserver.java:99) [org.openhab.model.core_1.8.3.jar:na]
      
      

      My item definition looks like the following:

      Number  Temperature           "Temp [%s °C]"     <temperature>   (gBio,gTemperature)     {mysensors=105;1;V_TEMP}
      

      As a follow-on, I've been trying to understand the {mysensors=105;1;V_TEMP} binding and what the semicolon separated values represent. So far I've been following example code, and haven't found the right documentation. Can someone point me to the right place? I appreciate any help.

      posted in OpenHAB
      Kodiak80
      Kodiak80
    • RE: v2.0 and SerialGateway

      Thanks for the quick replay. I'm new to Arduino, so maybe I'm missing something, but the SerialGateway example with v2.X has empty setup and loop functions. Without those I was under the impression there was no logic in this sketch. Particularly when I compare it to the version in the Serial Gateway video tutorial.

      On a related note, I setup one of my Dallas Temperature sensors following the tutorial for that sensor. It appears the example sketch provided is also for a previous version of MySensors (pre-v2.x), and needs some updates to be compatible with the latest version. Is my best option to just update that sketch or is there another one around for the current release?

      I appreciate the help.

      posted in Troubleshooting
      Kodiak80
      Kodiak80
    • v2.0 and SerialGateway

      I just got started with a goal of building a few simple temperature sensors. I used the IDE to install the latest v2.X release and followed the SerialGateway instructions. However it appears that the instructions and example are based on an earlier release as there are numerous missing libraries/includes...but also and include for MySensor.h as opposed to MySensors.h.

      Looking at the SerialGateway example provided with the v2.0 install, it appears to be just a stub. I'm sure I missing something here, so help getting me back on track would be appreciated. Is there are current v2.0 SerialGateway sketch or should i be using the one provided in the tutorial? If the older one is still valid, do I need to grab the older libraries in addition to the v2.0 install from the IDE?

      I appreciate the help and patience with newbie questions.

      posted in Troubleshooting
      Kodiak80
      Kodiak80