Search found 8 matches

by Lillios
Sunday 05 January 2025 11:24
Forum: Others
Topic: 1wire i2c
Replies: 1
Views: 288

1wire i2c

Hey. Have a installation with the i2c R-pi i2c 1wire expansion module https://www.m.nu/adaptrar-natuppbyggnad/r-pi-i2c-1wire-expansion-module-v11 This have worked before, but it was long time sincce i used this installation. Now i can not get the 1-wire to work. ¨¨ No sensors are showing under mnt/1 ...
by Lillios
Friday 13 October 2023 20:29
Forum: dzVents
Topic: Multiply value
Replies: 11
Views: 1537

Re: Multiply value

Have set logging to Debug for Dzvent. And also changed your script to: level = domoticz.LOG_DEBUG But the log does not show anything. No errors, or no info. Once you've done that, you've got to pepper the script with dz.log calls to check how things are going. If you don't get any output, then the ...
by Lillios
Thursday 12 October 2023 22:19
Forum: dzVents
Topic: Multiply value
Replies: 11
Views: 1537

Re: Multiply value

Thanks alot! Unfortunately i cant get it to work. Have set logging to Debug for Dzvent. And also changed your script to: level = domoticz.LOG_DEBUG But the log does not show anything. No errors, or no info. I also tried to move "Line 1", as i thought it should be placed after "return {", and then i ...
by Lillios
Wednesday 11 October 2023 16:22
Forum: dzVents
Topic: Multiply value
Replies: 11
Views: 1537

Re: Multiply value

boum wrote: Wednesday 11 October 2023 0:08
RonkA wrote: Tuesday 10 October 2023 23:58 Not tested but is this something?
This script has zero chance to work.
What needs to be changed?
I dont have any knowledge reguarding scripting. Trying to learn, but its frustrating when its not working :o
by Lillios
Tuesday 10 October 2023 23:16
Forum: dzVents
Topic: Multiply value
Replies: 11
Views: 1537

Re: Multiply value

waltervl wrote: Tuesday 10 October 2023 23:12 I think you mixed something up in your event script.
What is script named script#1 ? Is that the script you want to run? Or is it some empty script you need to delete? The error is coming from this script.
It is the script i want to run, (renamed it to Co2)
by Lillios
Tuesday 10 October 2023 22:41
Forum: dzVents
Topic: Multiply value
Replies: 11
Views: 1537

Multiply value

Hey, I have an old LUA scripts that was used to multiply a value from a sensor with 50. The actual sensor is an Co2 sensor, but Telldus reads the value as a temperature. I have recently setup my old installation, and i can not remember how i got this working, but now i get error in Domoticz log ...
by Lillios
Monday 02 January 2017 20:25
Forum: PHP and all others
Topic: Help: LUA Script for sensor multiplyed by value
Replies: 1
Views: 1332

Help: LUA Script for sensor multiplyed by value

Hey. I would like some help making a dummy sensor. I have a Co2 senor connected to my raspberry that is running Domoticz. The value from the Co2 sensor is not showing up correct, and needs to be multiplyed by x50. How do i type a LUA to write the value from that sensor and x50 to my Dummy? The value ...
by Lillios
Sunday 04 December 2016 22:11
Forum: Others
Topic: Is there interest for Tellstick (Duo) support?
Replies: 61
Views: 17068

Re: Is there interest for Tellstick (Duo) support?

Where should the script be placed.
You have two scripts, one "to make it executeable"?

For me it is not working.
If i use Putty i can send command tdtool -n 1 or tdtool --on 1 and it is working.
But cant get it working in Domoticz.