Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
root@raspberrypi:/opt# ./infinitive -httpport=80 -serial=/dev/ttyUSB0
INFO[0000] opening serial interface: /dev/ttyUSB0
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- using env: export GIN_MODE=release
- using code: gin.SetMode(gin.ReleaseMode)
[GIN-debug] GET /api/zone/1/config --> main.webserver.func1 (3 handlers)
[GIN-debug] GET /api/zone/1/vacation --> main.webserver.func2 (3 handlers)
[GIN-debug] PUT /api/zone/1/vacation --> main.webserver.func3 (3 handlers)
[GIN-debug] PUT /api/zone/1/config --> main.webserver.func4 (3 handlers)
[GIN-debug] GET /api/ws --> main.webserver.func5 (3 handlers)
[GIN-debug] GET /ui/*filepath --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (3 handlers)
[GIN-debug] HEAD /ui/*filepath --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (3 handlers)
[GIN-debug] GET / --> main.webserver.func6 (3 handlers)
[GIN-debug] Listening and serving HTTP on :80
INFO[0000] encoded frame: 9201 -> 2001: READ 003b03
DEBU[0000] transmitting frame: 200192010300000b003b03ecba
DEBU[0000] timeout waiting for response, retransmitting frame
DEBU[0000] transmitting frame: 200192010300000b003b03ecba
DEBU[0000] timeout waiting for response, retransmitting frame
DEBU[0000] transmitting frame: 200192010300000b003b03ecba
INFO[0000] read frame: 2001 -> 9201: RESPONSE 003b03000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
INFO[0000] encoded frame: 9201 -> 2001: READ 003b02
DEBU[0000] transmitting frame: 200192010300000b003b022d7a
INFO[0000] read frame: 2001 -> 9201: RESPONSE 003b020000000000000000000000000000000000000000000000000000000000
INFO[0000] read frame: 2001 -> 2201: WRITE 000420e022c0000f0101090201243c50003e5600011001
INFO[0000] read frame: 2201 -> 2001: RESPONSE 00
INFO[0000] read frame: 2001 -> 2301: WRITE 000420e022c0000f0101090201243254003e5600011001
INFO[0000] read frame: 2301 -> 2001: RESPONSE 00
INFO[0001] read frame: 2001 -> 4001: READ 000104
INFO[0001] read frame: 4001 -> 2001: RESPONSE 0001045641524941424c45205350454544204655524e4143452020000000000000000000000000000000000000000000000000434553523133313437362d32342020203938374d413636313030563231412d0000000000313530364e2d2d2d2d2d2d20313031354134363833330000000000000000000000000000
INFO[0001] read frame: 2001 -> 5101: READ 000104
INFO[0001] read frame: 5101 -> 2001: RESPONSE 0001045641522053504420434f4d502056455253494f4e00000000000000000000000000000000000000000000000000000000434553523133313433382d3037000000323830414e563036303030304541414100000000323731354e30363434333920323831354531383032380000000000000000000000000000
INFO[0001] read frame: 2001 -> 4001: READ 000306
INFO[0001] read frame: 4001 -> 2001: RESPONSE 00030601033e03a60000083e08
DEBU[0001] blower RPM is: 830
INFO[0001] read frame: 2001 -> 4001: READ 00030a
INFO[0001] read frame: 4001 -> 2001: RESPONSE 00030a0174740300510061000010100114
INFO[0001] read frame: 2001 -> 2201: READ 00041e
INFO[0001] encoded frame: 9201 -> 2001: READ 003b03
DEBU[0001] transmitting frame: 200192010300000b003b03ecba
INFO[0001] read frame: 2001 -> 2201: READ 00041e
INFO[0001] read frame: 2201 -> 2001: RESPONSE 00041e800000000000414c010412410000000000000000
INFO[0001] read frame: 2001 -> 2301: READ 00041e
INFO[0001] read frame: 2301 -> 2001: RESPONSE 00041e000000000000445001043e440000000000000000
DEBU[0001] timeout waiting for response, retransmitting frame
DEBU[0001] transmitting frame: 200192010300000b003b03ecba
INFO[0001] read frame: 2001 -> 9201: RESPONSE 003b03000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
INFO[0001] encoded frame: 9201 -> 2001: READ 003b02
DEBU[0001] transmitting frame: 200192010300000b003b022d7a
INFO[0001] read frame: 2001 -> 9201: RESPONSE 003b020000000000000000000000000000000000000000000000000000000000
INFO[0001] read frame: 2001 -> 4001: WRITE 00031d01
INFO[0001] read frame: 4001 -> 2001: RESPONSE 00
INFO[0001] read frame: 2001 -> 4001: WRITE 0003050000000003a6000000000078
INFO[0001] read frame: 4001 -> 2001: RESPONSE 00
INFO[0001] read frame: 2001 -> 4001: WRITE 00040300010100
INFO[0001] read frame: 4001 -> 2001: RESPONSE 00
INFO[0001] read frame: 2001 -> 4001: WRITE 00040900010100
INFO[0001] read frame: 4001 -> 2001: RESPONSE 00
INFO[0002] read frame: 2001 -> 4001: WRITE 00040b00000000
INFO[0002] read frame: 4001 -> 2001: RESPONSE 00
INFO[0002] read frame: 2001 -> 4001: WRITE 00030701000000
INFO[0002] read frame: 4001 -> 2001: RESPONSE 00
INFO[0002] read frame: 2001 -> 6001: WRITE 0003080b000f0000000000
INFO[0002] read frame: 6001 -> 2001: RESPONSE 00
INFO[0002] read frame: 2001 -> 6001: WRITE 00340400
INFO[0002] read frame: 6001 -> 2001: RESPONSE 00
INFO[0002] read frame: 4001 -> 4101: READ 00030a
INFO[0002] read frame: 4001 -> 4101: READ 00030a
INFO[0002] read frame: 4001 -> 4101: READ 00030a
INFO[0002] read frame: 4001 -> 4101: READ 00030a
INFO[0002] read frame: 4001 -> 4101: READ 00030a
INFO[0002] read frame: 4001 -> 4101: READ 00030a
INFO[0002] encoded frame: 9201 -> 2001: READ 003b03
DEBU[0002] transmitting frame: 200192010300000b003b03ecba
INFO[0002] read frame: 2001 -> 9201: RESPONSE 003b03000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
INFO[0002] encoded frame: 9201 -> 2001: READ 003b02
DEBU[0002] transmitting frame: 200192010300000b003b022d7a
INFO[0002] read frame: 2001 -> 9201: RESPONSE 003b020000000000000000000000000000000000000000000000000000000000
INFO[0003] read frame: 2001 -> 5101: READ 000302
INFO[0003] read frame: 5101 -> 2001: RESPONSE 00030201110109011200d2013000e0014a0070014b00eb
INFO[0003] read frame: 2001 -> 6001: READ 000302
INFO[0003] read frame: 6001 -> 2001: RESPONSE 0003020401000004020000040300000404000004140000041c0000
INFO[0003] read frame: 2001 -> 5101: READ 000303
INFO[0003] read frame: 5101 -> 2001: RESPONSE 000303013003a0
INFO[0003] read frame: 2001 -> 6001: READ 000319
INFO[0003] read frame: 6001 -> 2001: RESPONSE 0003190b000f00ffffffff
INFO[0003] read frame: 2001 -> 5101: READ 000604
INFO[0003] read frame: 2001 -> 5101: READ 000604
INFO[0003] read frame: 5101 -> 2001: RESPONSE 0006040efe0efd000018530bb81b58109a
INFO[0003] read frame: 2001 -> 5101: READ 000608
INFO[0003] read frame: 5101 -> 2001: RESPONSE 00060800000b010003c3
INFO[0003] read frame: 2001 -> 5101: READ 00061f
INFO[0003] read frame: 5101 -> 2001: RESPONSE 00061f004154cccd41212159416121594141215942d173a53d1fbe77030607090043c81eff4085550c000000014131215941512159413921594149215942b94f7a05a90000000000000000000000000000001e00
INFO[0003] read frame: 2001 -> 5101: READ 000627
INFO[0003] read frame: 5101 -> 2001: ERROR 0a
INFO[0003] read frame: 2001 -> 5101: READ 000310
INFO[0003] read frame: 5101 -> 2001: RESPONSE 000310230014f7280008e03c00033b2b000005
INFO[0003] read frame: 2001 -> 5101: READ 000311
INFO[0003] read frame: 5101 -> 2001: RESPONSE 00031125000a792a00035d3d0000502c0030ab
INFO[0003] read frame: 2001 -> 2201: WRITE 00041f800000000000414c000004fff000000000000000
INFO[0003] read frame: 2201 -> 2001: RESPONSE 00
INFO[0003] encoded frame: 9201 -> 2001: READ 003b03
DEBU[0003] transmitting frame: 200192010300000b003b03ecba
INFO[0003] read frame: 2001 -> 9201: RESPONSE 003b03000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
INFO[0003] encoded frame: 9201 -> 2001: READ 003b02
DEBU[0003] transmitting frame: 200192010300000b003b022d7a
INFO[0003] read frame: 2001 -> 9201: RESPONSE 003b020000000000000000000000000000000000000000000000000000000000
INFO[0003] read frame: 2001 -> 2301: WRITE 00041f0000000000004450000004fff000000000000000
INFO[0003] read frame: 2301 -> 2001: RESPONSE 00
INFO[0004] read frame: 2001 -> 4001: READ 000104
INFO[0004] read frame: 4001 -> 2001: RESPONSE 0001045641524941424c45205350454544204655524e4143452020000000000000000000000000000000000000000000000000434553523133313437362d32342020203938374d413636313030563231412d0000000000313530364e2d2d2d2d2d2d20313031354134363833330000000000000000000000000000
INFO[0004] read frame: 2001 -> 5101: READ 000104
INFO[0004] read frame: 2001 -> 5101: READ 000104
INFO[0004] read frame: 5101 -> 2001: RESPONSE 0001045641522053504420434f4d502056455253494f4e00000000000000000000000000000000000000000000000000000000434553523133313433382d3037000000323830414e563036303030304541414100000000323731354e30363434333920323831354531383032380000000000000000000000000000
INFO[0004] read frame: 2001 -> 4001: READ 000306
INFO[0004] read frame: 4001 -> 2001: RESPONSE 00030601034603a60000083e08
DEBU[0004] blower RPM is: 838
INFO[0004] read frame: 2001 -> 4001: READ 00030a
INFO[0004] read frame: 4001 -> 2001: RESPONSE 00030a0174740300510061000010100114
INFO[0004] read frame: 2001 -> 4001: READ 000404
INFO[0004] read frame: 4001 -> 2001: RESPONSE 000404107800060a1f03a6034600000000000a0000
INFO[0004] read frame: 2001 -> 4001: READ 00040d
INFO[0004] read frame: 4001 -> 2001: RESPONSE 00040d000000000000
INFO[0004] read frame: 2001 -> 5101: READ 000304
INFO[0004] read frame: 5101 -> 2001: RESPONSE 0003040118003c000000f101410abd00440000
INFO[0004] read frame: 2001 -> 2201: READ 00030d
INFO[0004] read frame: 2201 -> 2001: RESPONSE 00030d00000000000000
INFO[0004] read frame: 2001 -> 2301: READ 00030d
INFO[0004] read frame: 2301 -> 2001: RESPONSE 00030d00000000000000
INFO[0004] read frame: 2001 -> 4001: READ 00030d
INFO[0004] read frame: 4001 -> 2001: RESPONSE 00030d00000000000000
INFO[0004] encoded frame: 9201 -> 2001: READ 003b03
DEBU[0004] transmitting frame: 200192010300000b003b03ecba
INFO[0004] read frame: 2001 -> 9201: RESPONSE 003b03000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
INFO[0004] encoded frame: 9201 -> 2001: READ 003b02
DEBU[0004] transmitting frame: 200192010300000b003b022d7a
INFO[0004] read frame: 2001 -> 9201: RESPONSE 003b020000000000000000000000000000000000000000000000000000000000
INFO[0005] read frame: 2001 -> 5101: READ 00030d
INFO[0005] read frame: 5101 -> 2001: RESPONSE 00030d0000000000000000000000000000
INFO[0005] read frame: 2001 -> 6001: READ 00030d
INFO[0005] read frame: 6001 -> 2001: RESPONSE 00030d00000000000000
INFO[0005] read frame: 2001 -> 4001: READ 000316
INFO[0005] read frame: 4001 -> 2001: RESPONSE 0003160002000003a60053d078010002cb
DEBU[0005] air flow CFM is: 934
INFO[0005] read frame: 2001 -> 4001: READ 000402
INFO[0005] read frame: 4001 -> 2001: RESPONSE 0004025a7896b4781d359f811d1d33bab9451db49fb2971d00000000025d04c6032f4100
INFO[0005] read frame: 2001 -> 4001: READ 000409
INFO[0005] read frame: 4001 -> 2001: RESPONSE 00040900010100
INFO[0005] read frame: 2001 -> 5101: READ 000606
INFO[0005] read frame: 5101 -> 2001: RESPONSE 00060646dbb800471d6b0046ba5c0047608500473817003fa13d523f80000040000000
INFO[0005] read frame: 2001 -> 5101: READ 000607
INFO[0005] read frame: 5101 -> 2001: RESPONSE 0006070812044c03c302b70497044b053c01cc033e08ca078a048802b70497055e068c
INFO[0005] read frame: 2001 -> 2201: WRITE 000420e022c0000f0101090201243c50003e5600011001
INFO[0005] read frame: 2201 -> 2001: RESPONSE 00
INFO[0005] read frame: 2001 -> 2301: WRITE 000420e022c0000f0101090201243254003e5600011001
INFO[0005] read frame: 2301 -> 2001: RESPONSE 00
INFO[0005] encoded frame: 9201 -> 2001: READ 003b03
DEBU[0005] transmitting frame: 200192010300000b003b03ecba
INFO[0006] read frame: 2001 -> 9201: RESPONSE 003b03000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
INFO[0006] encoded frame: 9201 -> 2001: READ 003b02
DEBU[0006] transmitting frame: 200192010300000b003b022d7a
INFO[0006] read frame: 2001 -> 9201: RESPONSE 003b020000000000000000000000000000000000000000000000000000000000
INFO[0006] read frame: 2001 -> 5101: WRITE 00061000000000
INFO[0006] read frame: 5101 -> 2001: RESPONSE 00
INFO[0006] read frame: 2001 -> 5101: WRITE 00061222b80000000000000000
INFO[0006] read frame: 5101 -> 2001: RESPONSE 00
INFO[0006] read frame: 2001 -> 5101: WRITE 0006053fc754b1000000
INFO[0006] read frame: 5101 -> 2001: RESPONSE 00
INFO[0007] read frame: 2001 -> 5101: WRITE 00061a01
INFO[0007] read frame: 5101 -> 2001: RESPONSE 00
INFO[0007] read frame: 2001 -> 5101: WRITE 00060d021b581b580000000000000000
INFO[0007] encoded frame: 9201 -> 2001: READ 003b03
DEBU[0007] transmitting frame: 200192010300000b003b03ecba
DEBU[0007] timeout waiting for response, retransmitting frame
DEBU[0007] transmitting frame: 200192010300000b003b03ecba
INFO[0007] read frame: 2001 -> 5101: WRITE 00060d021b581b580000000000000000
INFO[0007] read frame: 5101 -> 2001: RESPONSE 00
INFO[0007] read frame: 2001 -> 5101: WRITE 00061e0f3fb1eb8506000000
INFO[0007] read frame: 5101 -> 2001: RESPONSE 00
INFO[0007] read frame: 2001 -> 5101: WRITE 00060b010412
INFO[0007] read frame: 2001 -> 4001: READ 000104
INFO[0007] read frame: 4001 -> 2001: RESPONSE 0001045641524941424c45205350454544204655524e4143452020000000000000000000000000000000000000000000000000434553523133313437362d32342020203938374d413636313030563231412d0000000000313530364e2d2d2d2d2d2d20313031354134363833330000000000000000000000000000
INFO[0007] read frame: 2001 -> 5101: READ 000104
INFO[0007] read frame: 5101 -> 2001: RESPONSE 0001045641522053504420434f4d502056455253494f4e00000000000000000000000000000000000000000000000000000000434553523133313433382d3037000000323830414e563036303030304541414100000000323731354e30363434333920323831354531383032380000000000000000000000000000
INFO[0007] read frame: 2001 -> 4001: READ 000306
DEBU[0007] timeout waiting for response, retransmitting frame
DEBU[0007] transmitting frame: 200192010300000b003b03ecba
DEBU[0007] timeout waiting for response, retransmitting frame
DEBU[0007] transmitting frame: 200192010300000b003b03ecba
DEBU[0007] timeout waiting for response, retransmitting frame
DEBU[0007] transmitting frame: 200192010300000b003b03ecba
INFO[0007] read frame: 2001 -> 4001: READ 000306
INFO[0007] read frame: 4001 -> 2001: RESPONSE 00030601034703a60000083e08
DEBU[0007] blower RPM is: 839
INFO[0007] read frame: 2001 -> 4001: READ 00030a
INFO[0007] read frame: 4001 -> 2001: RESPONSE 00030a0174740300510061000010100114
INFO[0007] read frame: 2001 -> 2201: READ 00041e
INFO[0007] read frame: 2001 -> 2301: READ 00041e
INFO[0007] read frame: 2301 -> 2001: RESPONSE 00041e000000000000445001043e440000000000000000
INFO[0007] read frame: 2001 -> 9201: RESPONSE 003b03000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
INFO[0007] encoded frame: 9201 -> 2001: READ 003b02
DEBU[0007] transmitting frame: 200192010300000b003b022d7a
INFO[0007] read frame: 2001 -> 9201: RESPONSE 003b020000000000000000000000000000000000000000000000000000000000
INFO[0008] read frame: 2001 -> 5101: READ 000302
INFO[0008] read frame: 5101 -> 2001: RESPONSE 00030201110109011200d2013000e0014a0070014b00eb
INFO[0008] read frame: 2001 -> 6001: READ 000302
INFO[0008] read frame: 6001 -> 2001: RESPONSE 0003020401000004020000040300000404000004140000041c0000
INFO[0008] read frame: 2001 -> 5101: READ 000303
INFO[0008] read frame: 2001 -> 5101: READ 000303
INFO[0008] read frame: 5101 -> 2001: RESPONSE 000303013003a0
INFO[0008] read frame: 2001 -> 6001: READ 000319
INFO[0008] read frame: 6001 -> 2001: RESPONSE 0003190b000f00ffffffff
INFO[0008] read frame: 2001 -> 5101: READ 000604
INFO[0008] read frame: 2001 -> 5101: READ 000604
INFO[0008] read frame: 5101 -> 2001: RESPONSE 0006040f120f0a000018530bb81b58109a
INFO[0008] read frame: 2001 -> 5101: READ 000608
INFO[0008] read frame: 5101 -> 2001: RESPONSE 00060800000b010003c3
INFO[0008] read frame: 2001 -> 5101: READ 00061f
INFO[0008] read frame: 5101 -> 2001: RESPONSE 00061f004154cccd41212159416121594141215942d1626d3d1fbe77030607090043c819cf4085550c000000014131215941512159413921594149215942b93e4205a90000000000000000000000000000001e00
INFO[0008] read frame: 2001 -> 4001: READ 000302
INFO[0008] read frame: 4001 -> 2001: RESPONSE 000302041100000000000000000000
INFO[0008] encoded frame: 9201 -> 2001: READ 003b03
DEBU[0008] transmitting frame: 200192010300000b003b03ecba
INFO[0008] read frame: 2001 -> 9201: RESPONSE 003b03000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
INFO[0008] encoded frame: 9201 -> 2001: READ 003b02
DEBU[0008] transmitting frame: 200192010300000b003b022d7a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment