mreymann / temperx Goto Github PK
View Code? Open in Web Editor NEWTools for the TEMPerHUM/TEMPerX USB dongle (413d:2107)
License: MIT License
Tools for the TEMPerHUM/TEMPerX USB dongle (413d:2107)
License: MIT License
I also have a 413d:2107 device. It is supposed to do both T and R.H.: vendor, Amazon. By pressing the button, I can get it to operate like a keyboard and just dump its output to /dev/stdin
. So I know it works, and it puts out T and R.H. in a human readable way. But that's not really practical.
My biggest issue right now is that hid-query /dev/hidraw3 0x01 0x86 0xff 0x01 0x00 0x00 0x00 0x00
gives me this error: Write failed: (null)
. I am doing this as root, and hid-query detects it successfully (that's how I know that it is hidraw3). Is this perhaps a slightly different device? Does it need a different string sent? Or is something about permissions set up the wrong way, so that writing does not work?
I purchased a batch of Temper2 devices from modmypi.com having bought 30-40 Temper devices over the past 5 years for various projects from the Temper1, Temper2 (Metal Body), and Temper2 (White Plastic Body) and recently it seems the internals have changed and now report as 413d:2107 with no vendor description.
After successfully installing Go on Raspbian Jessie Lite I can read the temperature on the device (the humidity is stuck on 200 as this isn't a feature of the Temper2) but the temperature appears to be the internal temperature and not the external probe.
Has anyone successfully been able to modify the Go script to output the other temperature? I'm new to Go and more versed in Python and C when dealing with these devices.
Hi, sorry to post this question as an issue... it's probably not a bug report.
I've got a 413d:2107
device, which looks like this: https://pcsensor.com/images/source/New_TEMPer/New_TEMPer_8.jpg
And I'm using your PHP script to read temps from it. Thanks! It's the only thing I could get working with it.
Regarding the humidity reading...
echo "y1.value $hum\n";
Mine always reports a value of 200
at all times. The temperature varies though.
Do you know if this value should vary on this device? Or is the code just there for other devices?
Is there anything I can try to get the humidity working?
I'm not even sure if the device has the feature or not? I didn't see any mention of humidity on Ebay or Amazon for this device - but yours seem to also have code 413d:2107
?
Your scripts are working very well but unfortunatelly my sensor has an offset between real and measured temperature.
An option for calibration both temperature and humidity would be an great enhancement.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.