Search found 12 matches

by Esper
Monday 12 February 2018 17:55
Forum: Python
Topic: Python Plugin: ebusd
Replies: 178
Views: 35117

Re: Python Plugin: ebusd


Is your JSON definition for hwc.SetMode the same with http://EbusIP:EbusPort/data?def&write ?


"SetMode": {
"name": "SetMode",
"passive": false,
"write": true,
"lastup": 1518451958,
"zz": 37,
"id": [
181,
5,
2
],
"fields": {
"hwcmode": {
"value": "auto"
}
},
"fielddefs": [
{
"name": "hwcmode ...
by Esper
Monday 12 February 2018 16:03
Forum: Python
Topic: Python Plugin: ebusd
Replies: 178
Views: 35117

Re: Python Plugin: ebusd

Its much better on 1.1.9.

My JSON for hwc.SetMode
"SetMode": {
"name": "SetMode",
"passive": false,
"write": false,
"lastup": 0,
"zz": 37,
"id": [
181,
4,
2
],
"fielddefs": [
{
"name": "hwcmode",
"slave": true,
"type": "UCH",
"isbits": false,
"length": 1,
"values": {
"0": "disabled",
"1": "on",
"2 ...
by Esper
Sunday 11 February 2018 20:54
Forum: Python
Topic: Python Plugin: ebusd
Replies: 178
Views: 35117

Re: Python Plugin: ebusd

Sorry, my misunderstanding..

Last cases are clear..

New question about hwc:SetMode

2018-02-11 20:51:59.516 (E) Handle
2018-02-11 20:51:59.516 (E) Telnet write: read -v -c hwc SetMode
2018-02-11 20:51:59.516 (E) Sending 25 bytes of data:
2018-02-11 20:51:59.516 (E) 72 65 61 64 20 20 2d 76 20 2d ...
by Esper
Friday 09 February 2018 8:41
Forum: Python
Topic: Python Plugin: ebusd
Replies: 178
Views: 35117

Re: Python Plugin: ebusd

Of course i can :) (1.1.5?)

Its better, I can add multi value positions, but plugin is adding only first value. For example:

2018-02-09 08:36:43.678 (E) Handle
2018-02-09 08:36:43.678 (E) Telnet write: read -v -c mc Mode
2018-02-09 08:36:43.678 (E) Sending 21 bytes of data:
2018-02-09 08:36:43 ...
by Esper
Monday 05 February 2018 14:17
Forum: Python
Topic: Python Plugin: ebusd
Replies: 178
Views: 35117

Re: Python Plugin: ebusd



2018-02-02 20:05:06.187 Error: (ebusd-a) parsing error on field count for value mc Mode temp0=22;mcmode=auto;=05;onoff=off (7 fields expected)


where the read command returns only 4 fields, with 7 fields expected (???), and afterwards in your messages, I can now see 7 fields for 8 expected ...
by Esper
Monday 05 February 2018 13:48
Forum: Python
Topic: Python Plugin: ebusd
Replies: 178
Views: 35117

Re: Python Plugin: ebusd

Hi,
yes, i've updated ebusd-configuration, but i can see one important difference:

fileldscount != fielddefscount - 6 != 7 - its our problem, i believe

code for hwc:Mode

"Mode": {
"name": "Mode",
"passive": false,
"write": false,
"lastup": 1517834228,
"zz": 37,
"id": [
181,
4,
1
],
"comment ...
by Esper
Monday 05 February 2018 8:51
Forum: Python
Topic: Python Plugin: ebusd
Replies: 178
Views: 35117

Re: Python Plugin: ebusd

And new problem for on/off devices.. (its always 100)
for example Ciculation pump off is value 100 and when its on, the value is 100.
I found it in code:

if (sLowerFieldValue == "on") or (sLowerFieldValue == "yes"):
iValue = 1
sValue = "100"
elif (sLowerFieldValue == "off") or ...
by Esper
Monday 05 February 2018 7:56
Forum: Python
Topic: Python Plugin: ebusd
Replies: 178
Views: 35117

Re: Python Plugin: ebusd

No problem :)

2018-02-05 07:54:31.973 (E) Handle
2018-02-05 07:54:31.973 (E) Telnet write: read -v -c mc Mode
2018-02-05 07:54:31.973 (E) Sending 21 bytes of data:
2018-02-05 07:54:31.973 (E) 72 65 61 64 20 20 2d 76 20 2d 63 20 6d 63 20 4d 6f 64 65 0d read..-v.-c.mc.Mode.
2018-02-05 07:54:31.973 ...
by Esper
Sunday 04 February 2018 17:02
Forum: Python
Topic: Python Plugin: ebusd
Replies: 178
Views: 35117

Re: Python Plugin: ebusd

ebusctl read -c mc -v Mode

mc Mode tempdesired=23;mcmode=auto;floorpavingdryingday=0;floorpavingdryingtemp=0;teleswitchmode=off;mctype7=mixer;daynight=day

ebusctl read -c mc -V Mode
mc Mode tempdesired=23 °C [temperature];mcmode=auto [mixer mode];floorpavingdryingday=0 [days ...
by Esper
Sunday 04 February 2018 14:24
Forum: Python
Topic: Python Plugin: ebusd
Replies: 178
Views: 35117

Re: Python Plugin: ebusd

After donwgrade to stable:

2018-02-04 14:22:54.898 (E) Initialized version 1.1.2, author 'Barberousse'
2018-02-04 14:22:54.900 (E) onStart called
2018-02-04 14:22:54.901 (E) IP or named address set to 192.168.32.130
2018-02-04 14:22:54.901 (E) Telnet port set to 8888
2018-02-04 14:22:54.901 (E ...
by Esper
Saturday 03 February 2018 21:24
Forum: Python
Topic: Python Plugin: ebusd
Replies: 178
Views: 35117

Re: Python Plugin: ebusd

For now my (yours) plugin is dead in case of phyton, but i can send you requested info:

ebusctl read -c mc Mode

23;auto;0;0;off;mixer;day

ebusctl read -V -c mc Mode

mc Mode tempdesired=23 °C [temperature];mcmode=auto [mixer mode];floorpavingdryingday=0 [days];floorpavingdryingtemp=0 °C ...
by Esper
Friday 02 February 2018 20:10
Forum: Python
Topic: Python Plugin: ebusd
Replies: 178
Views: 35117

Re: Python Plugin: ebusd

great work, but i get important errors in:

2018-02-02 20:05:05.610 Error: (ebusd-a) parsing error on field count for value hwc Mode temp0=40;hwcmode=auto;=00;onoff=off (7 fields expected)
2018-02-02 20:05:06.187 Error: (ebusd-a) parsing error on field count for value mc Mode temp0=22;mcmode=auto ...