Denkovi board

Others (MiLight, Hue, Toon etc...)
Post Reply
Stanleyk
Posts: 20
Joined: Tuesday 05 September 2017 1:09
Target OS: Raspberry Pi
Domoticz version:
Contact:

Denkovi board

Post by Stanleyk » Tuesday 05 September 2017 1:11

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

SweetPants
Posts: 1767
Joined: Friday 12 July 2013 21:24
Target OS: Linux
Domoticz version: V3.8922
Location: The Netherlands
Contact:

Re: Denkovi board

Post by SweetPants » Tuesday 05 September 2017 8:31

Did you search the forum (upper right box with "Search"). Type in "Denkovi" maybe?
Ubuntu 16.04.3 LTS on Intel NUC, MySensors 2.2.1, Pro Mini 3.3 8M RFM69, ESP8266 (SDK2.1.0), Sonoff, RFLink, RFXcom, MQTT, NodeRed, Domoticz Beta (from source)

Stanleyk
Posts: 20
Joined: Tuesday 05 September 2017 1:09
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Denkovi board

Post by Stanleyk » Tuesday 05 September 2017 11:25

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:[email protected]/iochange.cgi?r ... 1=00&02=FF
http://admin:[email protected]/iochange.cgi?r ... 1=00&02=00

but this commands are for all relay together.

SweetPants
Posts: 1767
Joined: Friday 12 July 2013 21:24
Target OS: Linux
Domoticz version: V3.8922
Location: The Netherlands
Contact:

Re: Denkovi board

Post by SweetPants » Tuesday 05 September 2017 14:49

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
Ubuntu 16.04.3 LTS on Intel NUC, MySensors 2.2.1, Pro Mini 3.3 8M RFM69, ESP8266 (SDK2.1.0), Sonoff, RFLink, RFXcom, MQTT, NodeRed, Domoticz Beta (from source)

Stanleyk
Posts: 20
Joined: Tuesday 05 September 2017 1:09
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Denkovi board

Post by Stanleyk » Tuesday 05 September 2017 15:33

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
Posts: 1767
Joined: Friday 12 July 2013 21:24
Target OS: Linux
Domoticz version: V3.8922
Location: The Netherlands
Contact:

Re: Denkovi board

Post by SweetPants » Tuesday 05 September 2017 16:06

Which Denkovi board do you have?
Ubuntu 16.04.3 LTS on Intel NUC, MySensors 2.2.1, Pro Mini 3.3 8M RFM69, ESP8266 (SDK2.1.0), Sonoff, RFLink, RFXcom, MQTT, NodeRed, Domoticz Beta (from source)

Stanleyk
Posts: 20
Joined: Tuesday 05 September 2017 1:09
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Denkovi board

Post by Stanleyk » Tuesday 05 September 2017 16:16


JuanUil
Posts: 253
Joined: Friday 22 May 2015 12:21
Target OS: Raspberry Pi
Domoticz version: 2.xx
Location: Asten NB Nederland
Contact:

Re: Denkovi board

Post by JuanUil » Tuesday 05 September 2017 16:27

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!

Stanleyk
Posts: 20
Joined: Tuesday 05 September 2017 1:09
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Denkovi board

Post by Stanleyk » Tuesday 05 September 2017 17:02

I have v3.8153

Stanleyk
Posts: 20
Joined: Tuesday 05 September 2017 1:09
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Denkovi board

Post by Stanleyk » Tuesday 05 September 2017 22:46

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: 20
Joined: Tuesday 05 September 2017 1:09
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Denkovi board

Post by Stanleyk » Friday 08 September 2017 15:44

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: 20
Joined: Tuesday 05 September 2017 1:09
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Denkovi board

Post by Stanleyk » Wednesday 13 September 2017 14:21

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: 20
Joined: Tuesday 05 September 2017 1:09
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Denkovi board

Post by Stanleyk » Wednesday 13 September 2017 17:22

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:[email protected]$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:[email protected]$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:[email protected]$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:[email protected]$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:[email protected]$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:[email protected]$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:[email protected]$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:[email protected]$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 5 guests