I wondering if the Scheider Unica type sensors can be recognized by pimatic.
This little stuff contains temperature, humidity, light sensors, push button input, and signal leds. It uses DS2438 and DS18B20 circuits.
I think is necessary a 1-wire adapter tor RBPI to connect the sensor(s).
Anyone has experience with this?
-
1-wire Unica type sensors
-
@Zoltán I don’t this this is supported, but it should be easy to integrate. May you or a fellow at icontrol can contribute?! This will be highly appreciated.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
@Zoltán I am read DS18B20 witch DS2482-100 adapter and owserver , ow-shell (http://owfs.org) and pimatic-owfs (https://github.com/nic356/pimatic-owfs).
To control the DS2438 I tried to use pimatic-shell-execute.
E.g read humidity:
{
“id”: “temperature”,
“name”: “Room Temperature”,
“class”: “ShellSensor”,
“attributeName”: “temperature”,
“attributeType”: “number”,
“attributeUnit”: “°C”,
“command”: “owread /26.F2FBE3467CC2/humidity”,
“interval”: 60000
}
Sorry my bad english -
Can you please post the wiring circuit you used?
I want to enable an 1 wire communication on my raspberry pi 2, to connect 16 contact sensors, and 16 temperature (or temp-humidity-light) sensors. I have only 2 free GPIO, the other ports is occupied already.
So, my guess is to use an i2c to 1-wire adatpter (DS2482S) connected to pi pin 27 and 28 (SD, SC). For the 16 contact sensor i must use two DS2408S connected to the 1-wire port, and for the temperature sensors using 16 pcs. of DS18B20. To have humidity data i must have DS2438? On the datasheet there is no one words about this function. These IC can measure temp, and humidity to?
The other question is the device id. How can be identified the device id code?
Thank you -
Unica should be supported in compination with the UniPi board as UniPi is also reselling the module.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
The UniPi board is not give me enough ports, and it is to expensive.
-
@Zoltán Hello. In the evening circuit and settings. For DS18B20 using small php script via cron and pimatic-mqtt. It is better to read the temperature every minute at a time.
-
1, Circuit:
2,You can use pi pin 27 and 28 use I2C? I am not turn on i2c-0 on pi2.
I use pi 4 and 5 .3,To read DS18B20 use this:
Install owserver and php-clisudo apt-get install owserver ow-shell php-cli
https://dl.dropboxusercontent.com/u/21711962/pimatic_1W/scripts.tar.gz
Edit config.php and run search-devices-to-device-list.phpRun on cron :
crontab -e
and paste to:*/1 * * * * php /path/to/scripts/cron.php >> /dev/null 2>&1
and then already read through pimatic-mqtt as sensor.
4,To have humidity data i must have DS2438?
Yes. DS2438 and HIH-4030 for example
DS2438 contains only temperature sensor.5,How can be identified the device id code?
Gradually involved sensors and commands in terminal:
owdir
-
Do anyone already use this sensor in pimatic?
https://taaralabs.eu/1-wire-temperature-humidity-light-sensor/
i’m think is probably very similar with DS18b20 sensor plugin.