Search found 72 matches

by RidingTheFlow
Friday 31 May 2019 18:30
Forum: RFLink Transceiver
Topic: is RFlink still a good option?
Replies: 16
Views: 8344

Re: is RFlink still a good option?

best is an antenna with a controlled ground plane like a dipole or similar. stick antenna uses the pcb as ground plane and that is not tuned as an antenna part. you can use dipoles on walkitalkies to to get great reception.. ;) and wide band antenna isn't tuned good to any frequency. just equaly ...
by RidingTheFlow
Thursday 04 April 2019 14:04
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: GPIO meter pulse counting with instant power calculation
Replies: 30
Views: 28358

Re: GPIO meter pulse counting with instant power calculation

As my pi is far from the counter, I would like to use a wemos d1 and send data via mqtt, is it possible to use this script to calculate instant power this way? You can count pulses on wemos and periodically send number of pulses via mqtt (resetting wemos counter to zero). And you will need to ...
by RidingTheFlow
Monday 05 June 2017 21:28
Forum: RFLink Transceiver
Topic: How to debug serial port sensors
Replies: 2
Views: 1832

Re: How to debug serial port sensors

Try strace, e.g.: sudo strace -s 1000 -e trace=writev,readv -fp "`pidof domoticz`" You will see serial calls among others and can narrow down to specific file descriptor that corresponds to interested serial port device. That if you want to debug with Domoticz running. Or you can stop domoticz and ...
by RidingTheFlow
Monday 05 June 2017 21:22
Forum: MySensors
Topic: Visualize usuported Mysensors value into Domoticz
Replies: 3
Views: 1913

Re: Visualize usuported Mysensors value into Domoticz

You can use either temperature/humidity or voltage. Voltage has advantage that its pretty high precision.
Temperature/humidity allows to graph combine two independent values on one chart. Humidity good for "percentage" values (0-100%).
by RidingTheFlow
Wednesday 12 April 2017 19:53
Forum: MySensors
Topic: mysensors live raw data debug
Replies: 2
Views: 3216

Re: mysensors live raw data debug

Try strace, e.g.:

Code: Select all

sudo strace -s 1000 -e trace=writev,readv -fp "`pidof domoticz`"
You will see serial calls among others and can narrow down to specific file descriptor that corresponds to interested serial port device.
by RidingTheFlow
Tuesday 28 March 2017 17:14
Forum: MySensors
Topic: Digital Gas Meter
Replies: 4
Views: 2277

Re: Digital Gas Meter

Then unfortunately you need to send data to port (one of these are photodiode receiver) for it to respond.
Your only option to find out the spec document on the meter and check what protocol this port uses (and maybe if ready-made data adapter is available).
by RidingTheFlow
Sunday 26 March 2017 23:48
Forum: MySensors
Topic: Digital Gas Meter
Replies: 4
Views: 2277

Re: Digital Gas Meter

These two circles in a circle is an optical port.

Does one of them blink when gas is being used?
by RidingTheFlow
Wednesday 22 March 2017 15:45
Forum: MySensors
Topic: Domoticz and Arduino sensors over usb
Replies: 20
Views: 18686

Re: Domoticz and Arduino sensors over usb

I believe you can try sending sketch version, but it should be sent "from sensor" (not from gateway). E.g. Serial.println("1;1;3;0;12;2.0.1") Not sure where domoticz will show it (and if it actually will show it anywhere at all). mysensors seem to have lot of commands "for future use" that current ...
by RidingTheFlow
Monday 20 March 2017 12:46
Forum: MySensors
Topic: Domoticz and Arduino sensors over usb
Replies: 20
Views: 18686

Re: Domoticz and Arduino sensors over usb

Don't use I_PRESENTATION. Commands starting with I_ are sent between nodes and gateway.
When direct USB connect, you actually making a gateway (which has nodes inside it).
by RidingTheFlow
Tuesday 14 March 2017 21:28
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: GPIO meter pulse counting with instant power calculation
Replies: 30
Views: 28358

Re: GPIO meter pulse counting with instant power calculation

Abbadon wrote:i modiffied you script with my idx, changed ip i run as root, i can see gpio change with 'watch -d -n 0,1 gpio readall' but nothing happens, in log file i can see:
Try to change logging level to debug

logging.getLogger().setLevel(logging.DEBUG)

And see if gpio interrupts actually get called.
by RidingTheFlow
Saturday 25 February 2017 11:31
Forum: Other questions and discussions
Topic: Domoticz as the heating controller
Replies: 25
Views: 10721

Re: Domoticz as the heating controller

Well, this depends on what kind of valve it is. If its using motor or mechanical relay (inductive load), you will need some protection. But we are not talking about this one here. If its thermoelectric wax valve (purely resistive load), you don't need anything really - any simple transistor or triac ...
by RidingTheFlow
Friday 24 February 2017 22:15
Forum: Other questions and discussions
Topic: Domoticz as the heating controller
Replies: 25
Views: 10721

Re: Domoticz as the heating controller

For 24V DC (and just 2W load, thats just 83mA) you don't really need relays or opto-isolation - its safe for direct connect by simple transistor.
by RidingTheFlow
Thursday 23 February 2017 18:42
Forum: Other questions and discussions
Topic: Domoticz as the heating controller
Replies: 25
Views: 10721

Re: Domoticz as the heating controller

Note that I need to operate 13 individual Valves, therefor I need a board with at least 13 relays BR Lars You don't really need to buy a complete board for that. Just buy SSRs in bulk, e.g. http://www.ebay.co.uk/itm/10-PCS-G3MB-202P-DC-AC-PCB-SSR-In-5V-DC-Out-240V-AC-2A-Solid-State-Relay-Module ...
by RidingTheFlow
Tuesday 21 February 2017 16:37
Forum: Other questions and discussions
Topic: Domoticz as the heating controller
Replies: 25
Views: 10721

Re: Domoticz as the heating controller

To prevent unattended loss of communication/runaway boiler, etc, I use watchdog timers. E.g. in Arduinos I use watchdogs to feed them only when periodic communication (via usb-to-serial with Pi) received. If it breaks for long, Arduino node auto-reboots and re-establish communication. Similar ...
by RidingTheFlow
Tuesday 21 February 2017 15:38
Forum: Other questions and discussions
Topic: Domoticz as the heating controller
Replies: 25
Views: 10721

Re: Domoticz as the heating controller

Any one done similar stuff? Willing to share? Thanks in advance BR Lars I use Pi 3 as central hub of my automated home. It runs custom Python script which implements multi-zone PID Controller ( https://en.wikipedia.org/wiki/PID_controller ). Temperature collected by sensors in the rooms - some are ...
by RidingTheFlow
Thursday 09 February 2017 23:35
Forum: MySensors
Topic: Domoticz and Arduino sensors over usb
Replies: 20
Views: 18686

Re: Domoticz and Arduino sensors over usb

AFAIK node id 0 reserved for gateway - you should not use it for sensors. I would recommend having different child Id per sensor, but same (non-zero) node Id - this should allow domoticz to know that they are for same meter. Also I don't see the presentation message. Domoticz will try to auto-detect ...
by RidingTheFlow
Sunday 15 January 2017 12:46
Forum: MySensors
Topic: Building a wired RS485 Mysensor network
Replies: 12
Views: 7896

Re: Building a wired RS485 Mysensor network

At the moment I'm not using Mysensors. I am considering to use a wired Mysensors network, is that possible? It is possible very easy, just make every device a mysensors serial gateway which does not need any kind of routing and talks sensor reports directly. However why would you use RS485? If your ...
by RidingTheFlow
Friday 13 January 2017 10:42
Forum: MySensors
Topic: Domoticz and Arduino sensors over usb
Replies: 20
Views: 18686

Re: Domoticz and Arduino sensors over usb

MySensors serial protocol is extremely simple (https://www.mysensors.org/download/serial_api_20). All you just need your Arduino sensor sketch to print simple strings like "12;6;0;0;3;My Light\n" to USB serial. Then connect Arduinos to domoticz as mysensors serial gateways each. I also have most of ...
by RidingTheFlow
Friday 06 January 2017 10:17
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: GPIO meter pulse counting with instant power calculation
Replies: 30
Views: 28358

Re: GPIO meter pulse counting with instant power calculation

Hi! Unfortunately it seems that it shows only 1/10 of real usage. I have a meter where 1000 impulses is one Kw so your script should be correct also for me. Do you have any suggestions what should I check? In Domoticz settings check Meter/Counters => RFXMeter/Counter Dividers, maybe its not 1000 ...
by RidingTheFlow
Wednesday 07 September 2016 8:47
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: GPIO going nuts!!
Replies: 4
Views: 2797

Re: GPIO going nuts!!

Internal pull down is very weak, and generally only sufficient for connections ~15cm long.