Denkovi board

Others (MiLight, Hue, Toon etc...)

Moderator: leecollings

Post Reply
Stanleyk
Posts: 23
Joined: Tuesday 05 September 2017 1:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Denkovi board

Post by Stanleyk »

Hello , have somebody working Denkovi board 8 relay with lan ? I can not connect to this.
SweetPants

Re: Denkovi board

Post by SweetPants »

Did you search the forum (upper right box with "Search"). Type in "Denkovi" maybe?
Stanleyk
Posts: 23
Joined: Tuesday 05 September 2017 1:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Denkovi board

Post by Stanleyk »

Yes I did, but last man who have it have 3 posts from 2014 year and no more info about connection. I am not a programmer, I just see a compatibility list and I buy a denkovi board 8 relay. only what is working for me is http command :

http://admin:password@IP/iochange.cgi?r ... 1=00&02=FF
http://admin:password@IP/iochange.cgi?r ... 1=00&02=00

but this commands are for all relay together.
SweetPants

Re: Denkovi board

Post by SweetPants »

There is native Domoticz support for "Denkovi Smartden with LAN interface" and "Denkovi Smartden IP In with LAN interface", did you try that already? Setup->Hardware->Type
Stanleyk
Posts: 23
Joined: Tuesday 05 September 2017 1:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Denkovi board

Post by Stanleyk »

Yes I try, but :
Error: Denkovi: Error connecting to: IP

I try SNMP port 161 with password from denkovi web and web port 80 with password to denkovi web. Also 443. same error
SweetPants

Re: Denkovi board

Post by SweetPants »

Which Denkovi board do you have?
Stanleyk
Posts: 23
Joined: Tuesday 05 September 2017 1:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Denkovi board

Post by Stanleyk »

JuanUil
Posts: 497
Joined: Friday 22 May 2015 12:21
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11083
Location: Asten NB Nederland
Contact:

Re: Denkovi board

Post by JuanUil »

What version of Domoticz are you on?
There is a big issue with ip-connection.
Roll back to latest stable
Your mind is like a parachute,
It only works when it is opened!

RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
Stanleyk
Posts: 23
Joined: Tuesday 05 September 2017 1:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Denkovi board

Post by Stanleyk »

I have v3.8153
Stanleyk
Posts: 23
Joined: Tuesday 05 September 2017 1:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Denkovi board

Post by Stanleyk »

I find on network that domoticz use a http port to denkovi. but get-request have just password so the answer is :
HTTP 60 HTTP/1.0 401 Authorization Required (text/html).

Any idea please ?
Stanleyk
Posts: 23
Joined: Tuesday 05 September 2017 1:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Denkovi board

Post by Stanleyk »

The manual
https://www.google.sk/url?sa=t&rct=j&q= ... 5qunoAneXg

on page 44 say about SNMP commands and is working from rasphberry. So I can write all separately scripts for on and of the relay and use it with dummy switch in domoticz.
But there are commands for read analog pins what will be a thermometers. How I can do this with domoticz ?
Stanleyk
Posts: 23
Joined: Tuesday 05 September 2017 1:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Denkovi board

Post by Stanleyk »

Ok, I can read value 0-1024 from the sensor in the RPi and put it to file. how can I make temperature sensor which take data from any file on hdd , please ?
Stanleyk
Posts: 23
Joined: Tuesday 05 September 2017 1:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Denkovi board

Post by Stanleyk »

well, for other people with same problem, here is a script. All xxxxxxx must be change to your. create dummy hardware and 8 virtual temperature sensors. use IDX from sensor.
save script and setup crontab for running script every few minutes

Code: Select all

denkoviIP="xxx.xxx.xxx.xxx" # denkovi IP Address
PASSWORD="xxxxxxxxxx" # SNMP Password
DOMO_IP="xxx.xxx.xxx.xxx" # Domoticz IP Address
DOMO_PORT="xxxxx" # Domoticz Port
DOMO_PASS="xxxxxx"        # Domoticz password
DOMO_USER="xxxxxx"           # Domoticz user

temp1_IDX="xxx" # teplota1
temp2_IDX="xxx" # teplota2
temp3_IDX="xxx" # teplota3
temp4_IDX="xxx" # teplota4
temp5_IDX="xxx" # teplota5
temp6_IDX="xxx" # teplota6
temp7_IDX="xxx" # teplota7
temp8_IDX="xxx" # teplota8


# Temperature get from denkovi
temp1=`snmpget -c $PASSWORD -v2c -O qv $denkoviIP .1.3.6.1.4.1.19865.1.2.3.1.0`
temp2=`snmpget -c $PASSWORD -v2c -O qv $denkoviIP .1.3.6.1.4.1.19865.1.2.3.2.0`
temp3=`snmpget -c $PASSWORD -v2c -O qv $denkoviIP .1.3.6.1.4.1.19865.1.2.3.3.0`
temp4=`snmpget -c $PASSWORD -v2c -O qv $denkoviIP .1.3.6.1.4.1.19865.1.2.3.4.0`
temp5=`snmpget -c $PASSWORD -v2c -O qv $denkoviIP .1.3.6.1.4.1.19865.1.2.3.5.0`
temp6=`snmpget -c $PASSWORD -v2c -O qv $denkoviIP .1.3.6.1.4.1.19865.1.2.3.6.0`
temp7=`snmpget -c $PASSWORD -v2c -O qv $denkoviIP .1.3.6.1.4.1.19865.1.2.3.7.0`
temp8=`snmpget -c $PASSWORD -v2c -O qv $denkoviIP .1.3.6.1.4.1.19865.1.2.3.8.0`


curl -s -i -H "Accept: application/json" "http://$DOMO_USER:$DOMO_PASS@$DOMO_IP:$DOMO_PORT/json.htm?type=command&param=udevice&idx=$temp1_IDX&nvalue=0&svalue=$temp1"
curl -s -i -H "Accept: application/json" "http://$DOMO_USER:$DOMO_PASS@$DOMO_IP:$DOMO_PORT/json.htm?type=command&param=udevice&idx=$temp2_IDX&nvalue=0&svalue=$temp2"
curl -s -i -H "Accept: application/json" "http://$DOMO_USER:$DOMO_PASS@$DOMO_IP:$DOMO_PORT/json.htm?type=command&param=udevice&idx=$temp3_IDX&nvalue=0&svalue=$temp3"
curl -s -i -H "Accept: application/json" "http://$DOMO_USER:$DOMO_PASS@$DOMO_IP:$DOMO_PORT/json.htm?type=command&param=udevice&idx=$temp4_IDX&nvalue=0&svalue=$temp4"
curl -s -i -H "Accept: application/json" "http://$DOMO_USER:$DOMO_PASS@$DOMO_IP:$DOMO_PORT/json.htm?type=command&param=udevice&idx=$temp5_IDX&nvalue=0&svalue=$temp5"
curl -s -i -H "Accept: application/json" "http://$DOMO_USER:$DOMO_PASS@$DOMO_IP:$DOMO_PORT/json.htm?type=command&param=udevice&idx=$temp6_IDX&nvalue=0&svalue=$temp6"
curl -s -i -H "Accept: application/json" "http://$DOMO_USER:$DOMO_PASS@$DOMO_IP:$DOMO_PORT/json.htm?type=command&param=udevice&idx=$temp7_IDX&nvalue=0&svalue=$temp7"
curl -s -i -H "Accept: application/json" "http://$DOMO_USER:$DOMO_PASS@$DOMO_IP:$DOMO_PORT/json.htm?type=command&param=udevice&idx=$temp8_IDX&nvalue=0&svalue=$temp8"
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest