Project

itiscold

0.0
No commit activity in last 3 years
No release in over 3 years
A thing that reads data from Elitech RC-5 temp sensor. Protocol documentation can be found here: https://github.com/civic/elitech-datareader/blob/master/rc-4-data.md I've tested this on my RC-5, but not an RC-4.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 3.16
~> 5.10
~> 4.0

Runtime

~> 1
 Project Readme

itiscold

DESCRIPTION:

A thing that reads data from Elitech RC-5 temp sensor. Protocol documentation can be found here:

https://github.com/civic/elitech-datareader/blob/master/rc-4-data.md

I've tested this on my RC-5, but not an RC-4.

SYNOPSIS:

Print device information

temp = Itiscold.open '/dev/tty.wchusbserial14140'
info = temp.device_info
puts Psych.dump info

Set device information (Note that this will clear the memory)

# Get the info
temp = Itiscold.open '/dev/tty.wchusbserial14140'
info = temp.device_info

# Mutate it and upload to the device
info.stop_button = :prohibit
temp.device_params = info

# Print info again
info = temp.device_info
puts Psych.dump info

Set device time

temp = Itiscold.open '/dev/tty.wchusbserial14140'
temp.set_device_time! # defaults to Time.now

INSTALL:

  • gem install itiscold