/cul.rb

reading CULFW devices with ruby

Primary LanguageRubyMIT LicenseMIT

cul.rb

reading CULFW devices with Ruby and returning parsed values as JSON string

Installation

bundle
bundle exec ruby lib/cul.rb
# Output: {"raw": "K0100327506", "temp": 20.0, "hum": 75.3, "created_at": "2016-09-12T07:16:42+0000"}

More Info

I implemented it in Go also, its here: https://github.com/benben/cul.go

see http://culfw.de/culfw.html

License

see LICENSE file