Code Monkey home page Code Monkey logo

Comments (6)

mbs38 avatar mbs38 commented on July 22, 2024

Can you post your configuration for that please?

from spiciermodbus2mqtt.

bmpalmeida avatar bmpalmeida commented on July 22, 2024

"type","topic","col2","col3","col4","col5","col6"

poll,mc6,16,0,22,holding_register,15
ref,RoomTemp,0,r
ref,FloorTemp,1,r
ref,Humidity,2,r
ref,4FCUHeatValveStatus,3,r
ref,4FCUCoolValveStatus,4,r
ref,2FCUValveStatus,5,r
ref,HighFanStatus,6,r
ref,MedFanStatus,7,r
ref,LowFanStatus,8,r
ref,HeatingOutputStatus,9,r
ref,HWHeatStatus,10,r
ref,HWHotWaterStatus,11,r
ref,TouchLock,12,r
ref,WindowOpenFunction,13,r
ref,HolidayFunction,14,r
ref,HoldingFunction,15,r
ref,BoostFunction,16,r
ref,FloorOverheat,17,r
ref,DeviceType,18,r
ref,AuxiliaryHeat,19,r
ref,FanType,20,r
ref,SystemEorr,21,r

poll,mc6,16,60,27,holding_register,15
ref,TemperatureFormat,60,rw
ref,Status,61,rw
ref,SystemMode,62,rw
ref,FanSpeed,63,rw
ref,SetTemperature,64,rw
ref,Away,65,rw
ref,AwayTemperature,66,rw
ref,HoldEndTimeHi,67,rw
ref,HoldEndTimeLow,68,rw
ref,HoldingTemperature,69,rw
ref,HolidayStartTimeHi,70,rw
ref,HolidayStartTimeLow,71,rw
ref,HolidayEndTimeHi,72,rw
ref,HolidayEndTimeLow,73,rw
ref,OptimumStart,74,rw
ref,BoostEndTimeHi,75,rw
ref,BoostEndTimeLow,76,rw
ref,Boost,77,rw
ref,TouchPanelLock,78,rw
ref,LockPin1,79,rw
ref,LockPin2,80,rw
ref,LockPin3,81,rw
ref,LockPin4,82,rw
ref,MaxSetTempLimit,83,rw
ref,MinSetTempLimit,84,rw
ref,FloorTempLimit,85,rw
ref,ScheduleMode,86,rw

from spiciermodbus2mqtt.

bmpalmeida avatar bmpalmeida commented on July 22, 2024

I'm having errors on 61, 62, 63, 64.

Only writing, reading works good as always

from spiciermodbus2mqtt.

mbs38 avatar mbs38 commented on July 22, 2024

Well it seems like your device does not support function code 6 (preset single register). Unfortunately Modbus is very often not thoroughly implemented. I have seen a couple of devices that do not support function code 16 (write multiple registers) when writing only one register. Since that seemed to be common I changed spiciermodbus2mqtt to always use function 6 when writing only one register: 687b9a9

A device that only supports function code 16 that is a new quirk. I will add a a command line option to exclude specific function codes.

from spiciermodbus2mqtt.

bmpalmeida avatar bmpalmeida commented on July 22, 2024

Wow,

Indeed modbus implementations are a mess.

I roll back temporarily to version 0.65 and it's working.

Thanks so much for the debug, and for the project, is being working very well.

from spiciermodbus2mqtt.

mbs38 avatar mbs38 commented on July 22, 2024

Please use the command line option --avoid-fc6
Fixed with 6e0e6b5

from spiciermodbus2mqtt.

Related Issues (6)

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.