Re: [mh] One Wire sensors

Stephen Switzer <[email protected]>
Newsgroups gmane.comp.misc.misterhouse.user
Message-ID <CALSXUc23byBeq+v28DAcwaVEC+UTapD4t6xLt5iC4mjHhWVh7Q@mail.gmail.com>
Thank you! I added this and I don't know if I'm baking cookies or freezing
them LOL!!

# grep Basement /opt/mrhouse/local/data/logs/mh.main.log
12/26/20 12:23:47 PM Owfs_Item::DEVICE_DISCOVERY: device: 10.67C6697351FF
location: Basement Thermometer family: 10 id: 67C6697351FF root: / path:
/10.67C6697351FF
12/26/20 12:24:00 PM [HVAC] Basement Temp:
12/26/20 12:25:00 PM [HVAC] Basement Temp:      190.723
12/26/20 12:26:00 PM [HVAC] Basement Temp:       84.111
12/26/20 12:27:00 PM [HVAC] Basement Temp:      140.565
12/26/20 12:28:00 PM [HVAC] Basement Temp:      195.038
12/26/20 12:29:00 PM [HVAC] Basement Temp:      190.185
12/26/20 12:30:00 PM [HVAC] Basement Temp:      164.019
12/26/20 12:31:00 PM [HVAC] Basement Temp:      177.718
12/26/20 12:32:00 PM [HVAC] Basement Temp:      202.737
12/26/20 12:33:00 PM [HVAC] Basement Temp:      96.4161
12/26/20 12:34:00 PM [HVAC] Basement Temp:      75.9403
12/26/20 12:35:00 PM [HVAC] Basement Temp:      50.4367
12/26/20 12:36:00 PM [HVAC] Basement Temp:      167.795
12/26/20 12:37:00 PM [HVAC] Basement Temp:      67.5834
12/26/20 12:38:00 PM [HVAC] Basement Temp:       179.65
12/26/20 12:39:00 PM [HVAC] Basement Temp:      114.199
12/26/20 12:40:00 PM [HVAC] Basement Temp:      88.2446
12/26/20 12:41:00 PM [HVAC] Basement Temp:      163.519
12/26/20 12:42:00 PM [HVAC] Basement Temp:      32.1513
12/26/20 12:43:00 PM [HVAC] Basement Temp:      208.151
12/26/20 12:44:00 PM [HVAC] Basement Temp:      200.384
12/26/20 12:45:00 PM [HVAC] Basement Temp:      202.872
12/26/20 12:46:00 PM [HVAC] Basement Temp:      35.1238
12/26/20 12:47:00 PM [HVAC] Basement Temp:      68.1122
12/26/20 12:48:00 PM [HVAC] Basement Temp:      83.1724
12/26/20 12:49:00 PM [HVAC] Basement Temp:      61.3743
12/26/20 12:50:00 PM [HVAC] Basement Temp:      204.183
12/26/20 12:51:00 PM [HVAC] Basement Temp:       55.929
12/26/20 12:52:00 PM [HVAC] Basement Temp:      36.7912

I think I'll try soldering the leads or otherwise improve the connection.
We'll see what happens. I just thought this was hilarious.


On Sat, Dec 26, 2020 at 11:08 AM Giles Godart-Brown <[email protected]>
wrote:

> Like Jeff I also get oddball temp readings equally rarely and typically of
> about 80deg C, however  since I live in the UK I can safely filter anything
> over 30deg C  :-)
>
> OH and I attached the wrong screenshot in my previous email, the html
> interface should be like the attached - sorry
>
> G
> On 26/12/2020 16:01, Jeff Siddall via misterhouse-users wrote:
>
> Steve,
>
> I use the MH Owfs_Item:
>
> $Basement_Thermometer = new Owfs_Item("10.651A40000800", "Basement
> Thermometer");
>
> Use the get method to specify what to get, then read it with state:
>
>       my $temp = $Basement_Thermometer->get("temperature");
>       my $temp = $Basement_Thermometer->state();
>
> Of course you also need to install and setup owfs.
>
> To me, that seemed to me like the most logical way to use them.
>
> They are fairly reliable, but ever once in a while (maybe every 10,000 or
> 100,000 readings) I get a strange result, like an indoor temperature of 80
> C.  This is a minor thing, and for me only results in a text saying
> something is too hot so I haven't tried to figure out if it is a physical
> issue (interference), an owfs issue, or a Owfs_Item issue.
>
> Also, I would definitely recommend soldering the connections.
>
> Good luck!
>
>
> On 2020-12-26 9:02 a.m., Stephen Switzer wrote:
>
> Several years ago, I ordered a serial to RJ11 adapter from
> ibutton(something), called the link 12, and a few temperature sensors that
> look like the standard TO-92 transistor package. I connected it to MH,
> added one sensor to the network and tried to see if it worked. I had plans
> to place sensors all around the house.
>
> However, I hadn't ever seen any response from the serial port and shelved
> the project. I decided to look at it again yesterday and discovered how it
> worked... sort of:
>
>
> f=First     \=Snif
> n=Next      |=Thru
> r=Reset     l=Level
> b=Byt(NN+)  ^=57600
> j=Bit(N+)   `=38400
> p=BytW/P    ,=19200
> ~=BitW/P    x=BusLo
> d=Aux+      $=Scan
> z=Aux-      *=List
> &=Aux?      h=Help
> (=Extend
> t=Type      "=Iso
>
>
> 420008003BE45B10
> !,420008003BE45B10
>
> I found that at 9600 baud I can press h to see the help, and *, $ will
> also return data about the sensor that I have on the network. Wow! I
> finally have something to work with, but I can't figure out where to get
> the readings from. Pressing p, j or b all give a 1. One time I saw a B3,
> but it doesn't seem to be repeatable. It's 179 anyway... my server room
> rack better not be that temperature!!
>
> So, I continued and looked for some MH code to read the serial port data.
> I found several examples, but none of them seemed to be for reading the OW
> data directly from a serial port. All seemed to read a dump from an
> external program - and all from Windows. I'm running Linux.
>
> So, I looked a owfs: installed it, configured it the best that I could
> figure out and poked around the /run/owfs filesystem...
>
> root@avalanche:~# cat /run/owfs/bus.0/10.67C6697351FF/latesttemp
> 43.1086root@avalanche:~# cat /run/owfs/bus.0/10.67C6697351FF/latesttemp
> 91.3275root@avalanche:~# cat /run/owfs/bus.0/10.67C6697351FF/latesttemp
> 14.4802root@avalanche:~# cat /run/owfs/bus.0/10.67C6697351FF/latesttemp
> 94.4001root@avalanche:~# cat /run/owfs/bus.0/10.67C6697351FF/latesttemp
> 46.0749root@avalanche:~# cat /run/owfs/bus.0/10.67C6697351FF/latesttemp
> 90.8667root@avalanche:~# cat /run/owfs/bus.0/10.67C6697351FF/temperature
> 36.8015root@avalanche:~# cat /run/owfs/bus.0/10.67C6697351FF/temperature
> 1.73821root@avalanche:~# cat /run/owfs/bus.0/10.67C6697351FF/temperature
> 31.6712root@avalanche:~# cat /run/owfs/bus.0/10.67C6697351FF/temperature
> 65.0987root@avalanche:~# cat /run/owfs/bus.0/10.67C6697351FF/temperature
> 27.7991root@avalanche:~# cat /run/owfs/bus.0/10.67C6697351FF/temperature
>
> Every time I checked values, it was something different. Perhaps this is
> because I twisted the sensors onto the wires, instead of a more secure
> connection?
>
> Either way, I'm getting SOMETHING... so I think it's time to ask: how do
> YOU gather OW data? Is there a module for MH to tread it directly, or
> should we use something external?
>
> Thank you all!
>
> --
>
> Best regards,
> Steve Switzer
>
> ---
> Get world-class business I.T. services and a phone system with awesome features that won't challenge your budget!http://www.sbsROC.com
>
>
>
> ________________________________________________________
> To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users
>
>
>
> ________________________________________________________
> To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users
>
> ________________________________________________________
> To unsubscribe from this list, go to:
> https://lists.sourceforge.net/lists/listinfo/misterhouse-users
>
>

-- 

Best regards,
Steve Switzer

---
Get world-class business I.T. services and a phone system with awesome
features that won't challenge your budget!http://www.sbsROC.com

________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.