Search found 110 matches

by Jan Jansen
Monday 24 September 2018 15:28
Forum: Others
Topic: Opinions on Arduino based cable connection
Replies: 9
Views: 1731

Re: Opinions on Arduino based cable connection

Works perfectly so far. Anyone needing the .ino files and details, just ask for it... Hello febalci, I'am interested and need some help. I want to start simple. What do I want to achieve first? doorcontact >>>>>> <---> Arduino nano <-> ethernet (ENC28J60) <-----------------------> Domoticz relay <<...
by Jan Jansen
Friday 22 June 2018 16:50
Forum: Raspberry Pi GPIO ( WiringPi )
Topic: RPi3 vs. 32 relays
Replies: 4
Views: 699

Re: RPi3 vs. 32 relays

Maybe the piface offers a solution. You can link a maximum of 4 (= 32 outputs) to the rpi. I have been using 2 pifaces for years with great pleasure.
by Jan Jansen
Sunday 03 June 2018 12:17
Forum: LUA
Topic: [Solved] struggle with an uservariable
Replies: 4
Views: 537

Re: struggle with an uservariable

Hmm, try round(RainmmHour, 1) round(RainmmHour, 1) >>> log shows Error: EventSystem: commandArray in script /home/pi/domoticz/scripts/lua/script_time_regentekst.lua should only return ['string']='actionstring' or [integer]={['string']='actionstring'} On the forum I searched for ['string']='actionst...
by Jan Jansen
Saturday 02 June 2018 15:40
Forum: LUA
Topic: [Solved] struggle with an uservariable
Replies: 4
Views: 537

Re: struggle with an uservariable

@Sweetpants, Thanks for your quick reply. Your suggestion: commandArray['Variable:Neerslagverwachting']=tonumber(('round(RainmmHour, 1)') gives an error>> Error: EventSystem: in /home/pi/domoticz/scripts/lua/script_time_regentekst.lua: /home/pi/domoticz/scripts/lua/script_time_regentekst.lua:63: ')'...
by Jan Jansen
Saturday 02 June 2018 14:08
Forum: LUA
Topic: [Solved] struggle with an uservariable
Replies: 4
Views: 537

[Solved] struggle with an uservariable

With great pleasure I use the text sensor as described in https://www.domoticz.com/wiki/Is_it_gonna_rain (thanks Hansbit). Hereafter, the part of the script that is relevant to this topic: commandArray = {} minuten=30 RainPrediction = IsItGonnaRain(minuten) RainmmHour=10^((RainPrediction-109)/32) if...
by Jan Jansen
Friday 01 June 2018 19:35
Forum: General Discussion
Topic: Update definition / regex for fail2ban?
Replies: 5
Views: 584

Re: Update definition / regex for fail2ban?

I use fail2ban as described in the WIKI. I do not experience any problems. From the outside I approach Domoticz via Openvpn. When I do something wrong (putty, Openvpn or website protection) there is a message in the fail2ban log. A blockade follows after 3 wrong login attempts.
by Jan Jansen
Sunday 20 May 2018 16:08
Forum: General Discussion
Topic: Free GiveAway (Domoticz starter set, Raspberry Pi3b)
Replies: 81
Views: 10016

Re: Free GiveAway (Domoticz starter set, Raspberry Pi3b)

My daughter and son-in-law will soon be moving to their new home. In our house they became enthusiastic about the possibilities of Domoticz. I would like to help them to get Domoticz to their wishes in their new home. I want to use the offered RPI for that. Hopefully this will make others, they will...
by Jan Jansen
Thursday 26 April 2018 20:17
Forum: Suggestions
Topic: RFID card access controls
Replies: 3
Views: 1073

Re: RFID card access controls

It wasn't too difficult. Let me know how it goes. I prefer a wired solution (RFID-RC522> Nano> ethernet shield ENC28J60> Domoticz) instead an ESPboard. My problem is to send the TAG ID via wire to a Domoticz sensor. It is the first time that I want to connect a sensor via Ethernet to Domoticz. That...
by Jan Jansen
Sunday 08 April 2018 15:00
Forum: Bugs and Problems
Topic: All kind of I/O errors
Replies: 7
Views: 411

Re: All kind of I/O errors

EdwinK wrote:
Sunday 08 April 2018 14:32
Just need to find out how i did it. ;)
Maybe this helps http://wiki.pieper.eu/raspberry-pi-draa ... -usb-stick
by Jan Jansen
Friday 06 April 2018 7:16
Forum: Suggestions
Topic: RFID card access controls
Replies: 3
Views: 1073

Re: RFID card access controls

I am also looking for a good solution for this. Unfortunately, I do not have the skills to achieve my goal. Previously I found this post https://www.domoticz.com/forum/viewtopic.php?f=38&t=8582&p=141892&hilit=rfid#p169378 The plan described by D'rMorris fits but is still a bridge too far for me. Per...
by Jan Jansen
Wednesday 21 March 2018 16:41
Forum: Python
Topic: [RELEASED] Python plugin: Modbus RTU / ASCII / TCP/IP
Replies: 165
Views: 19446

Re: [RELEASED] Python plugin: Modbus RTU / ASCII / TCP/IP

Even with help from Google, I can not figure it out. I would like to use a Modbus RS-485 slave (RTU) with 4 outputs (Nano> ULN2003> power relay) and 4 inputs (contacts). I can turn a LED on and off by using the sketch as described in http://domoticx.com/arduino-modbus-rs485-rtu-slave/. But after a f...
by Jan Jansen
Sunday 11 March 2018 9:08
Forum: Python
Topic: [RELEASED] Python plugin: Modbus RTU / ASCII / TCP/IP
Replies: 165
Views: 19446

Re: [Released] Python plugin: Modbus RS485 RTU/ASCII/TCP

@Mc Mellow, I am certainly not an expert, I learn from a lot of trial and error. Perhaps you know a lot more than me, but still. Before Domoticz broke, I had similar problems as you still have. I followed the instructions as described in the WIKI (Using Python plugins, Installing Python on Raspberry...
by Jan Jansen
Saturday 10 March 2018 20:38
Forum: Python
Topic: [RELEASED] Python plugin: Modbus RTU / ASCII / TCP/IP
Replies: 165
Views: 19446

Re: [Released] Python plugin: Modbus RS485 RTU/ASCII/TCP

@Mc Mellow,

Suddenly I could no longer reach Domoticz via the web interface. Today I read viewtopic.php?f=65&t=22339&start=20#p173424.

I followed the instructions and was able to reach Domoticz (Stretch, V3.8976) again. I also can use the write function again.
by Jan Jansen
Thursday 08 March 2018 16:10
Forum: Python
Topic: [RELEASED] Python plugin: Modbus RTU / ASCII / TCP/IP
Replies: 165
Views: 19446

Re: [Released] Python plugin: Modbus RS485 RTU/ASCII/TCP

@ Domoticx,

After a lot of trial and error I now can use function 6 (write single holding registor). Using the example as described on your website (http://domoticx.com/arduino-modbus-rs485-rtu-slave/), I learned to switch a LED on and off via modbus RS485. Thanks for stimulating my brain.

Jan
by Jan Jansen
Saturday 03 March 2018 17:40
Forum: Dashticz
Topic: Dashticz - Module Moonphases
Replies: 46
Views: 5512

Re: Dashticz - Module Moonphases

+1
by Jan Jansen
Friday 02 March 2018 15:37
Forum: PiFace
Topic: PiFace support added
Replies: 116
Views: 34359

Re: PiFace support added

For me it seems that you have adjusted the piface.conf. I use the following (I only use switches and no counters). //piface.conf [Autogenerated] //This file is part of the PiFace driver (written by Robin Stevenhagen) for domoticz, and allows for more advanced pin configuration options //This file ca...
by Jan Jansen
Thursday 01 March 2018 22:00
Forum: PiFace
Topic: PiFace support added
Replies: 116
Views: 34359

Re: PiFace support added

Follow the Wiki

raspi-config >> enable SPI

after > curl -L install.domoticz.com | sudo bash
cd domoticz
./updatebeta

Point your browser to the IP address of your Raspberry Pi
Click hardware tab and add the piface board.

Check if is there is a piface.conf file in the domoticz folder.
by Jan Jansen
Wednesday 28 February 2018 21:48
Forum: Python
Topic: [RELEASED] Python plugin: Modbus RTU / ASCII / TCP/IP
Replies: 165
Views: 19446

Re: [Released] Python plugin: Modbus RS485 RTU/ASCII/TCP

Hi, At this moment I am experimenting with a tag reader (RC522 + arduino nano clone). I want to use a tag to disarm the security system. In addition, I prefer a wired connection to the rpi on which Domoticz runs. By trial and error I succeeded in having tags read and a recognized tag sets pin 9 from...
by Jan Jansen
Wednesday 28 February 2018 11:09
Forum: PiFace
Topic: PiFace support added
Replies: 116
Views: 34359

Re: PiFace support added

I use 2 pifaces (Stretch) without any issue. What does the log say?
by Jan Jansen
Sunday 21 January 2018 15:28
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Advice before installing
Replies: 4
Views: 1150

Re: Advice before installing

1. Just follow the WIKI (the easy way, use stretch image)

2. cd domoticz

3. ./updatebeta