Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. marog
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    marog

    @marog

    0
    Reputation
    5
    Posts
    341
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    marog Follow

    Best posts made by marog

    This user hasn't posted anything yet.

    Latest posts made by marog

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

      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

      posted in My Project
      marog
      marog
    • RE: Boiler control from MAX! Cube to Drayton Boiler via Raspberry Pi/Vera/Mysensors.

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

      posted in My Project
      marog
      marog
    • RE: Boiler control from MAX! Cube to Drayton Boiler via Raspberry Pi/Vera/Mysensors.

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

      posted in My Project
      marog
      marog
    • RE: Boiler control from MAX! Cube to Drayton Boiler via Raspberry Pi/Vera/Mysensors.

      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)
      
      posted in My Project
      marog
      marog
    • RE: Boiler control from MAX! Cube to Drayton Boiler via Raspberry Pi/Vera/Mysensors.

      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.

      posted in My Project
      marog
      marog