Closed Crewski closed 8 months ago
Actually, all you should need to do is enable the-one wire bus on the BAS and then it should be recognized in the One-wire section of the software.
Do you know how to enable it? I'm looking through the literature and can't find it. From what I'm experiencing, the BAS sees the sensors and can read them, but the one-wire interface for the pi has no idea they are there. They don's show up when I run ls /sys/bus/w1/devices/
. But when I run megabas 0 owbidrd 1
I can get the address.
Did you enable the 1-wire bus on the pi?
Yeah, I have it enabled. I've sent an email to sequent asking them about it, I'll let you know what they say.
I'm assuming since its "one-wire over I2C" it won't show up on the pi bus since it isn't connected to a gpio pin.
Perfect timing from them, here is their response:
Hi David, Unfortunately you can not access the sensors without the library. Just for my curiosity, what will be the benefit for that?
Best regards,
It had to be just a feature that existed on the MCU so they popped a connector on the board. I'm sure it could be extracted from the I2c registers. However, I am not sure that would be the way to go.
Why would one use I2c to access a 1 wire device on a raspberry pi?
@Crewski Are you looking for the 1-wire REM Wiki?
@Crewski Are you looking for the 1-wire REM Wiki?
No, it was just for convenience of my setup. You can disregard this. I'll close it.
It would be nice to be able to use the one-wire interface from the MEGA-BAS in REM. My original setup has some DS18B20 sensors mounted in my pipes. I have moved to a MEGA-BAS with some 10K thermistors (once I install them), but it would be nice to still monitor the DS18B20's I have. I wrote a simple python script to send the values to njs-PC, but it would be nice if it was already in REM. Thanks.
If anyone is interested, my code is: