@doctor64 it is enough, I can replicate it. Thanks for reporting this issue  . You can keep track of it here: https://github.com/tobof/openhab2-addons/issues/97
 . You can keep track of it here: https://github.com/tobof/openhab2-addons/issues/97
 
		
		
		
	Posts made by andreacioni
- 
    RE: openHAB 2.0 bindingposted in OpenHAB
- 
    RE: openHAB 2.0 bindingposted in OpenHABHi @doctor64, could you please post your thingsconfiguration file?
- 
    RE: openHAB 2.0 bindingposted in OpenHAB@mick you aren't the first asking that  . I opened a new issue on GitHub (https://github.com/tobof/openhab2-addons/issues/95) to discuss about adding it to the binding. . I opened a new issue on GitHub (https://github.com/tobof/openhab2-addons/issues/95) to discuss about adding it to the binding.
- 
    RE: openHAB 2.2 bindingposted in OpenHAB@philro @nofox 
 We are discussing this issue on GitHub. Probably we have found the problem and a possible, temporary, solution. If you can try it it would be useful, thanks! 
- 
    RE: openHAB 2.0 bindingposted in OpenHABDid you run feature:install openhab-transport-serial, on OH console? 
- 
    RE: openHAB 2.0 bindingposted in OpenHABJust few posts before  @TimO said in openHAB 2.0 binding: @Nicklas-Starkel Well no, MQTT Gateway is not yet supported.  
 I got distracted by my current hardware project and need to catch up on the binding. First tests of the MQTT addition to the binding look very promising and I'll include it soon.The current release is this one: http://www.oberfoell.com/openhab2/org.openhab.binding.mysensors-2.1.0-SNAPSHOT.jar While preparing the code to be included in OpenHAB2 I'm currently changing some things that will break the current configuration / things files. But I will give some information about that with the release of the next version. 
- 
    RE: openHAB 2.0 bindingposted in OpenHABHi @gonzalonal  In the new version of binding we have implemented a (beta-)function that allows you to send heartbeat message at certain interval without the need to write your own rules. Please take a lock at this gateway-parameter (you must have set enableNetworkSanCheck=true and sanityCheckerInterval). With sanCheckSendHeartbeat parameter set you could also use this node-parameter to put your nodes offline after a certain number of failure. I hope this function will help you! 
- 
    RE: openHAB 2.0 bindingposted in OpenHAB@Alpoy check this discussion on GitHub. The question is still open. @antonholmstedt reconnection is currently implemented in binding (look here). Feel free to open an issue if you experience reconnection fails in your environment  
- 
    RE: openHAB 2.0 bindingposted in OpenHAB@AndrewZ things file update trigger a reload of all binding declared inside it, nothing strange.  Follow the above link to keep track of the status of this issue. Follow the above link to keep track of the status of this issue.
- 
    RE: openHAB 2.0 bindingposted in OpenHABHi @AndrewZ , yes this is a known issue (I just openend an issue here) with the binding. Just out of curiosity, have you changed something in things file? 
- 
    RE: openHAB 2.0 bindingposted in OpenHABHi @LastSamurai , currently Timo is working on MQTT gateway but I don't know precisely when it will be available to all. @TimO said in openHAB 2.0 binding: @Fabien Thank you for your feedback! 
 And: I've waited for that question according firmware updates to come up. I've looked into it and I'm very interested but till now there is only the implementation in the library, I've not seen an implementation in a binding. I'll continue to look at it, but with low priority.  Current priority list is: - Include binding in OH2 repository.
- Test and include the big refactoring from @andreacioni .
- Add MQTT gateway (proof of concept working, full integration after refactoring).
- Add little feature requests, add sensors ...
 
- 
    RE: openHAB 2.0 bindingposted in OpenHABHi @carlyler  what version of JVM are you using? 1.7 or 1.8? 
- 
    RE: openHAB 2.0 bindingposted in OpenHABHi @Gustafsson, Have you read the readme? Readme . Probably you have not configured things? See the readme on how to do that  
- 
    RE: openHAB 2.0 bindingposted in OpenHABHi @gonzalonal The implementation of the binding create a thing for every channel of a single node. So the solution result is what you can see in the log. We can do a little bit more to prevent a single message to fire every 'lastupdate' channel of every thing that have the same node ID. But I think it is not a good idea. 
- 
    RE: openHAB 2.0 bindingposted in OpenHABHi @kolaf, yes this is how to do it. But my idea is to integrate the datetime channel into the binding in order to automatically update that value when updates are received. I think is better than have to do rules into OH config for each devices. What do you think? 
- 
    RE: openHAB 2.0 bindingposted in OpenHABHi @TimO ! I want to tell you an idea for the OH2 binding. What do you think about adding a date time channel to every thing that hold the last communication of the thing with the gateway? For example, it will be useful if you want to notify user that some sensors have become unavailable. Tell me what do you think!  
- 
    RE: openHAB 2.0 bindingposted in OpenHABHi @TimO, me and @undee have tested everything (thanks again!). I'll push a little PR on github to fix a problem found in I_TIME response. 
- 
    RE: openHAB 2.0 bindingposted in OpenHAB@kolaf Could you try link the serial port to another name (ln -s /dev/mysensorsUSB /dev/ttyS80) 
- 
    RE: openHAB 2.0 bindingposted in OpenHAB@kolaf that's my output, check if there's something different. Have you tried rebooting the entire board/system? 23:08:55.305 [DEBUG] [nsors.handler.MySensorsBridgeHandler] - Initialization of the MySensors Bridge 23:08:55.379 [DEBUG] [col.serial.MySensorsSerialConnection] - Connecting to /dev/ttyS80 [baudRate:115200] 23:08:56.542 [DEBUG] [col.serial.MySensorsSerialConnection] - Successfully connected to serial port. 23:08:56.558 [DEBUG] [col.serial.MySensorsSerialConnection] - Waiting 5 seconds to allow correct reset trigger on serial connection opening 23:09:00.220 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'mysensors:bridge-ser:gateway' changed from INITIALIZING to UNINITIALIZED (HANDLER_INITIALIZING_ERROR) 23:09:00.232 [WARN ] [ome.core.thing.internal.ThingManager] - Registering handler for thing 'mysensors:bridge-ser:gateway' takes more than 5000ms. 23:09:00.403 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'logging.persist' 23:09:00.623 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'rrd4j.persist' 23:09:01.380 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'demo.rules' 23:09:01.615 [WARN ] [s.internal.MySensorsBridgeConnection] - Skipping I_VERSION connection test, not recommended... 23:09:01.641 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'mysensors:bridge-ser:gateway' changed from UNINITIALIZED (HANDLER_INITIALIZING_ERROR) to ONLINE 23:09:01.733 [DEBUG] [g.mysensors.protocol.MySensorsWriter] - Sending to MySensors: 0;0;3;0;2; 23:09:01.737 [DEBUG] [org.openhab.binding.mysensors ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.core.thing.binding.ThingHandler}={thing.type=mysensors:bridge-ser, thing.id=mysensors:bridge-ser:gateway, service.id=319, service.bundleid=181, service.scope=singleton} - org.openhab.binding.mysensors 23:09:01.768 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 0;0;3;0;2;1.5 23:09:01.785 [DEBUG] [s.internal.MySensorsBridgeConnection] - Good,Gateway is up and running! (Ver:1.5) 23:09:04.490 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'demo.script' 23:09:05.262 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'demo.items'EDIT: Do you see Skipping I_VERSION connection test, not recommended...? 
- 
    RE: openHAB 2.0 bindingposted in OpenHABHi @undee Can you post your node firmware version and log of OH2? It's very important for us to troubleshoot your problem. 
 Thanks!
- 
    RE: openHAB 2.0 bindingposted in OpenHAB@TimO said: Maybe we could an option for the binding to omit the check for I_VERSION? I could do it without any problem. 
- 
    RE: openHAB 2.0 bindingposted in OpenHAB@Francois ok, this is the normal output. What happens if you send the I_VERSION message (just copy, paste and send one of them: 0;0;3;0;2; or 0;255;3;0;2; )? UPDATE: Issue posted on tracker here 
- 
    RE: openHAB 2.0 bindingposted in OpenHAB@Francois is a simple serial text message, just open the serial monitor of Arduino IDE and send it from there. 
- 
    RE: openHAB 2.0 bindingposted in OpenHAB@Francois could you please send manually the I_VERSION command to the gateway? By no this is done by binding to check if the startup of the gateway was completed without errors. In your case that check fail. The I_VERSION message is this: 0;0;3;0;2;, you could try also 0;255;3;0;2; and see if gateway answer. Let we know what you see! 
- 
    RE: openHAB 2.0 bindingposted in OpenHABHi @Francois , thanks for report. Seems that the you are using 2.0 version of MS Gateway. If you do not need it for particular task, try install the 1.5 version. I'll try to fix your problem as soon as possible! 
- 
    RE: openHAB 2.0 bindingposted in OpenHAB@gonzalonal I've done all of my test on a custom ATMEGA328p shield for BeagleBone Black, running OH2 (beta) so the environment is the same but I've not the reset circuit that gives the issue above. So now I'll push this little fix on the github repo, I think there's nothing to to in this sense. Thank for your time  ! !If you find some other strange behaviour also remember that github repo has it's own issue tracker available here: https://github.com/tobof/openhab2-addons/issues, it works very well and is the best place to keep track of every software-releated bug  Greetings! 
- 
    RE: openHAB 2.0 bindingposted in OpenHAB@gonzalonal I've implemented the check on startup. On serial gateway with the last version I'm not having any issue, so I would like to know: what hardware are you using? I think that probably is only a timing issue because, for exaple, Arduino UNO reset itself on opening connection and the message for request I_VERSION is sent immediately after connection is opened. I'll suggest you to try adding something like this: Thread.sleep(3000)After line 49 on MySensorsSerialConnection.java. Should become: serialConnection = new NRSerialPort(serialPort, baudRate); if (serialConnection.connect()) { logger.debug("Successfully connected to serial port."); Thread.sleep(3000); mysConReader = new MySensorsSerialReader(serialConnection.getInputStream(), this); mysConWriter = new MySensorsSerialWriter(serialConnection.getOutputStream(), this, sendDelay); connected = startReaderWriterThread(mysConReader, mysConWriter); } else { logger.error("Can't connect to serial port. Wrong port?"); }I can't do this test because I do not have an appropriate hardware, can you try the suggested code modification? Thanks! UPDATE: I've upload a temp build here: https://drive.google.com/file/d/0B11IarucpGdUdFJ2ZjVtZENsb2c/view?usp=sharing if you can't do the modification you can use this. Let me know! 
- 
    RE: openHAB 2.0 bindingposted in OpenHABHi SebastiΓ‘n, what repository have you checked? Currently the development is not on the old https://github.com/wishmoooop/openhab2/tree/master/addons/binding/org.openhab.binding.mysensors but was moved here: https://github.com/tobof/openhab2-addons/tree/MySensors/addons/binding/org.openhab.binding.mysensors Hope this help  
- 
    RE: openHAB 2.0 bindingposted in OpenHAB@TimO Hi Tim, for debugging outupt of the binding I need to write: log:set DEBUG org.openhab.binding.mysensors, without this I cannot see anything about binding logs
- 
    RE: openHAB 2.0 bindingposted in OpenHAB@TimO I'think the OH1 compatibility is not the problem. It seems that OH2 beta1 have not installed transport feature and so it has no definition for the gno.io pakage, so I'think there's nothing to do on your code  PS tell me when the new repo is OK that I download it and try to add the baudrate config  Thanks!! Thanks!!
- 
    RE: openHAB 2.0 bindingposted in OpenHABThis kind of problem (as I've read online) in this release of OH seems to be not only related to this binding. One suggestion that I found is here: https://github.com/openhab/openhab-distro/issues/82 (last comment) or here: https://github.com/openhab/openhab-distro/issues/81 I've tested it without success but I don't know if I've done it right. I've also try to build myself a rfxcom binding (this one use gnu.io) and it has the same issue hope this help EDIT: this work for me, run on OSGI console: feature:install openhab-transport-serial and restart OH 
- 
    RE: New Sensor typeposted in Feature Requests opss, i've not see the s_baro sorry for the wrong suggestion opss, i've not see the s_baro sorry for the wrong suggestion
- 
    RE: New Sensor typeposted in Feature RequestsYes could be an idea, but if you need things that are not specified you can think about using: S_CUSTOM as a temporary method 