Giter Site home page Giter Site logo

avatto_me167's People

Contributors

twhittock avatar twhittock-disguise avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

wirtsi ebyna

avatto_me167's Issues

converter does not work

Dear Twhittock!

I installed this converter but unfortunately Z2M does not recognise the device correctly.

I installed the script in the z2m folder and add to the configuration but i get this error again.

Zigbee2MQTT:warn 2022-10-21 19:21:48: Received message from unsupported device with Zigbee model 'TS0601' and manufacturer name '_TZE200_bvu2wnxz'

Folder: /config/zigbee2mqtt

config:
data_path: /config/zigbee2mqtt
socat:
enabled: false
master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
options: "-d -d"
log: true
permit_join: true
frontend: true
mqtt:
server: mqtt://192.168.0.53:1883
user: yourMQTT
password: yourMQTTpass
serial:
port: >-
/dev/serial/by-id/usb-Silicon_Labs_slae.sh_cc2652rb_stick_-_slaesh_s_iot_stuff_00_12_4B_00_23_93_32_3B-if00-port0
advanced:
log_level: debug
external_converters:

  • me167.js

Can you help me what can be the problem?

Thank you!

avatto_me167 and IoBroker

Hello I use the converter in IoBroker everything that is sent to the thermostat works great.

Unfortunately, the received data is not written to the data points in IoBroker

Or do I have to adjust something in the converter for the IoBroker

below some packets received

`{"type":"commandDataReport","data":{"seq":28160,"dpValues":[{"dp":4,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,220]}}]},"linkquality":87,"groupID":0,"cluster":"manuSpecificTuya","meta":{"zclTransactionSequenceNumber":46,"manufacturerCode":null,"frameControl":{"frameType":1,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":false,"reservedBits":0}},"endpoint_id":1}

{"type":"commandDataReport","data":{"seq":29952,"dpValues":[{"dp":5,"datatype":2,"data":{"type":"Buffer","data":[0,0,1,14]}}]},"linkquality":94,"groupID":0,"cluster":"manuSpecificTuya","meta":{"zclTransactionSequenceNumber":53,"manufacturerCode":null,"frameControl":{"frameType":1,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":false,"reservedBits":0}},"endpoint_id":1}

{"type":"commandDataReport","data":{"seq":36096,"dpValues":[{"dp":4,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,240]}}]},"linkquality":54,"groupID":0,"cluster":"manuSpecificTuya","meta":{"zclTransactionSequenceNumber":77,"manufacturerCode":null,"frameControl":{"frameType":1,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":false,"reservedBits":0}},"endpoint_id":1}

{"type":"commandDataReport","data":{"seq":40960,"dpValues":[{"dp":5,"datatype":2,"data":{"type":"Buffer","data":[0,0,1,14]}}]},"linkquality":87,"groupID":0,"cluster":"manuSpecificTuya","meta":{"zclTransactionSequenceNumber":96,"manufacturerCode":null,"frameControl":{"frameType":1,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":false,"reservedBits":0}},"endpoint_id":1}`

Calibration failed ME167 (ketotek)

Hi, when I try calibrating the TRV from HA via MQTT automation, I get this error:

'set' 'local_temperature_calibration' to '$ENTITY_NAME' failed: 'TypeError: tuya.sendDataPointValue is not a function'

native integration in z2m works, but it only allows me for calibration to be in the range of -3 +3. How can I fix this and use your converter?

Send schedule payload

Is it possible to send schedule payload to device? If so, what would a payload look like?

I tried the following query without success

let payload = {
    'schedule': {
        "workdays":[
            {"hour":6,"minute":0,"temperature":19},
            {"hour":8,"minute":0,"temperature":20},
            {"hour":12,"minute":8,"temperature":10},
            {"hour":12,"minute":52,"temperature":10},
            {"hour":22,"minute":0,"temperature":19},
            {"hour":23,"minute":30,"temperature":15}
        ]
    }
};

sendTo('zigbee.0', 'SendToDevice', {'device':'deviceID ', 'payload': payload}, function(res) {
   if (res.success){
       console.log("success");
    console.log(res);
   }
   else
     console.log(res.error);
});
Send command to deviceID failed with no error code (undefined)

Schedule takes over

I am not sure if I am doing something wrong, as I am very new to Home-Assistant, but although I have the schedule turned off on the device It always takes over control. I am using it with "Better Thermostat" and the setting in the card is on "heat" but the temperature went automatically up to 20 °C although I have set it to 18 °C. Also, the schedule symbol is on on the device, I repeatedly turned it off, but it sets itself back to schedule mode.

Cannot change heating setpoint from HA

Hello,

I'm not sure it's an issue with this converter but being new to HA and TRV, I'm struggling to find where the issue is in my setup. I managed to install HA and Z2M addon, this converter and I succesfully added my TRV in Z2M and HA. But when I change the setpoint, either from a card or directly from the Z2M frontend, I can see a log in Z2M with the desired value but a few seconds after, another line appears in the logs of Z2M resetting the value to and arbitrary value I don't know where it comes from.
I probably do something wrong and I would appreciate any clue you could give to help me find where my issue is.
Best regards,

Jérôme

Does it work?

I'm astonished, github has no messageing feature so I need to post it here...

I came across your repo while trying to add a converter for this "Cloud Even Smartes Heizkörper-Thermostat Zigbee Smart TRV LCD" (https://www.amazon.de/gp/product/B097MCYVDC) and since I failed I'm looking for another zigbee thermostat. This one let a lot of water run through after a while although the set temperature was way below room temperature so probably a hardware fault but I'm a bit tired of sending things back and forth.

So the device you linked in the issue #13727 at zigbee2mqtt seems to be in perfect order with your custom converter, right? Any trouble with the device warming up a room way too much? Had this with old danfoss zwave-devices... :/

Would love to hear about this device, maybe even put a note in the README.md explaining the current status of the converter! Thank you for your time uploading this here! ✌

Local temperature not recognized

Hello,

first off thank you so much for creating this integration! It worked flawlessly so far. But I have a small isssue with the local temperature. It seems like Zigbee2MQTT cannot pull any temperature data from the sensor. It will stay for me a 20°C.

This is the error I receive when trying to update the local temperature:

Zigbee2MQTT:error 2022-10-25 19:13:44: No converter available for 'local_temperature' ("")

Do you know how I can fix that?
My valve is branded by "onndo" and not Avatto. But it basically has the same product page (https://de.aliexpress.com/item/1005004696707285.html?spm=a2g0o.order_detail.0.0.9f7a6368PUP29U&gatewayAdapt=glo2deu) and is getting recognized just fine except the local temp :/

Can you please take a look at that?

Thanks in advance!

Schedule raw bytes

Hi,
I want to help you. Can you provide wireshark log or raw bytes values sent by TRV? It's will be much easier to understand how it works.
Thanks!

avatto_me167/me167.js

Lines 38 to 43 in 40c32f9

function weeklySchedule(day, value) {
// byte 0 - Day of Week (0~7 = Wed ~ Tue) ???
// byte 1 - hour ???
// byte 2 - minute ???
// byte 3 - Temp (temp = value )
// byte 4 - Temperature (temp = value / 10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.