Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
marogM

marog

@marog
About
Posts
5
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Boiler control from MAX! Cube to Drayton Boiler via Raspberry Pi/Vera/Mysensors.
    marogM marog

    You dont need to do reset. IT is enought to unpair with the cube. Try to set log debug in console of homegear with the option 10. Then logs should tell you what is wrong

    My Project

  • Boiler control from MAX! Cube to Drayton Boiler via Raspberry Pi/Vera/Mysensors.
    marogM marog

    I use a diagram from homegear to connect it and it is working. No problem with connection.

    My Project

  • Boiler control from MAX! Cube to Drayton Boiler via Raspberry Pi/Vera/Mysensors.
    marogM marog

    This is problem of Max System - very often the temp is sended as 0.0 in comunication with the box

    My Project

  • Boiler control from MAX! Cube to Drayton Boiler via Raspberry Pi/Vera/Mysensors.
    marogM marog

    I read few documentation and finnaly I manage to post something that is understood by the Cube. I got short python3 script

    import socket
    import binascii
    
    def getBits(value):
        return "{0:b}".format(value)
    
    def toHex(value):
        return hex(int(value,2))
    
    def get_S_String(rfAddress, roomId, temp=None, mode=None):
        if temp:
            msgH = toHex(getBits(int(int(temp) * 2)))[2:]
        else:
            msgH = mode
        cmdStr = "00 04 40 00 00 00 " + rfAddress.lower() + " " + roomId + " " + msgH
        base = binascii.b2a_base64(binascii.unhexlify(cmdStr.replace(" ","")))
        return "s:" + base.decode() + "\r\n"
    
    def send_raw_data(host, port, data):
        s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
        s.connect((host, port))
        s.settimeout(2)
        return s.send(data.encode())
    
    host = "10.0.0.110"
    port = 62910
    
    address = "12E023"
    room = "02"
    
    address = "126010"
    room = "01"
    
    temp = "14"
    ## auto MODE
    x = get_S_String(address, room, mode="00")
    print(x)
    ## setup MANUAL temp
    #x = get_S_String(address, room, temp)
    #print(x)
    
    send_raw_data(host, port, x)
    
    My Project

  • Boiler control from MAX! Cube to Drayton Boiler via Raspberry Pi/Vera/Mysensors.
    marogM marog

    Hi,
    did any one of you manage to send S: command that works to the cube ?
    I want to control changing the ECO/AUTO mode but i can't.

    My Project
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular