onewireproducer.jar
Description
provides services when 1-Wire sensor are connected to a 1-Wire network
Polled measurements are Temperature, Humidity and ADVoltage. Others can be added !
For more details on how to use this bundle, refer to the /doc/readme.html file embedded in the bundle jarfile.
Contributors
Didier Donsez (Didier.Donsez@ieee.org)
License
Library GNU Public License
Services
org.osgi.service.wireadmin.Producer
Properties
wireadmin.producer.flavors=Class[] { org.osgi.util.measurement.Measurement.class })
service.pid=depend of the device address
Requirements
org.osgi.service.wireadmin; specification-version="1.0"
org.osgi.util.measurement; specification-version="1.0"
javax.comm
embeds the onewireapi.jar downloadable from http://www.ibutton.com/software/1wire/1wire_api.html
Download
Build
- download the onewireapi.jar from http://www.ibutton.com/software/1wire/1wire_api.html
-
- put the onewireapi.jar in the ./embeddedlib
- download the TMEX installer
- launch the installer. It installs DLLs in the C:\WINDOWS\SYSTEM32 of your system
- put those DLLs in the ./native directory.
Those DLLs are : Ds1410d.sys, Ib10e32.dll, ib90usb.dll, Ib97e32.dll, Ib97u32.dll, ibfs32.dll, ibtmjava.dll
- configure the build properties in build.xml
- configure the onewire (adapter name, ...) properties in ./initialstate.properties
- adapterName=DS9097U on COM ports (could run without DLL ibtmjava.dll) -> product name DS9097U-9 see http://www.ibutton.com/products/readers.html
- adapterName={DS9097U} on COM ports (required DLL Ib97u32.dll) -> product name DS9097 see http://www.ibutton.com/products/readers.html
- adapterName={DS9097E} on COM ports (required DLL Ib97e32.dll)
- adapterName={DS9490} on USB ports (required DLL ib90usb.dll)
- adapterName={DS1410E} on LPT ports (required DLL Ib10e32.dll)
- then build with ant
Tested gateways
Tested OneWire Devices
Typical Usage
- a Weather station
- Access control
TODO (contributions are welcome)
- wire admin filtering
- one producer per AD channel ?? (I don't have the device to test that)
- JMX ConfigMBean configuration
Links