Skip to content

Instantly share code, notes, and snippets.

>>> waterheatermanagement read heat-demand 1 3
[1756906098.361] [206:206] [TOO] Command: waterheatermanagement read heat-demand 1 3
[1756906098.362] [206:207] [TOO] Sending command to node 0x1
[1756906098.363] [206:207] [CSM] FindOrEstablishSession: PeerId = [1:0000000000000001]
[1756906098.364] [206:207] [CSM] FindOrEstablishSession: No existing OperationalSessionSetup instance found
[1756906098.364] [206:207] [DIS] Found an existing secure session to [1:0000000000000001]!
[1756906098.364] [206:207] [DIS] OperationalSessionSetup[1:0000000000000001]: State change 1 --> 5
[1756906098.364] [206:207] [TOO] Sending ReadAttribute to:
[1756906098.364] [206:207] [TOO] cluster 0x0000_0094, attribute: 0x0000_0001, endpoint 3
[1756906098.364] [206:207] [DMG] SendReadRequest ReadClient[0x7f80017d20]: Sending Read Request
>>> waterheatermanagement cancel-boost 1 3
[1756905559.134] [206:206] [TOO] Command: waterheatermanagement cancel-boost 1 3
[1756905559.135] [206:207] [TOO] Sending command to node 0x1
[1756905559.137] [206:207] [CSM] FindOrEstablishSession: PeerId = [1:0000000000000001]
[1756905559.137] [206:207] [CSM] FindOrEstablishSession: No existing OperationalSessionSetup instance found
[1756905559.137] [2
@lboue
lboue / main.cpp
Created June 10, 2023 21:48 — forked from GOROman/main.cpp
M5Atom Lite + AtomFly2 モーター制御 by GOROman (怪我して死んでも知らんVer.)
// M5Atom Lite + AtomFly2 モーター制御 by GOROman
#include <M5Atom.h>
// モーターの数
const int MOTOR_COUNT = 4;
// モーターのGPIOピンアサイン
const int MOTOR_PINS[] = {
22, // [A] FL
@lboue
lboue / ESP32WaterFlow.ino
Created October 4, 2022 18:10 — forked from IdrisCytron/ESP32WaterFlow.ino
Interface water flow sensor with ESP32 board.
/*
Application:
- Interface water flow sensor with ESP32 board.
Board:
- ESP32 Dev Module
https://my.cytron.io/p-node32-lite-wifi-and-bluetooth-development-kit
Sensor:
- G 1/2 Water Flow Sensor
@lboue
lboue / eve-ng packet.net
Created November 28, 2020 13:51 — forked from breakintheweb/eve-ng packet.net
Install script for eve-ng on top of packet.net
#!/bin/sh
#save our current network interface config for merging with eveng network config later
cp /etc/network/interfaces ./interfaces
sed -i -e "s/PermitRootLogin .*/PermitRootLogin yes/" /etc/ssh/sshd_config
wget -O - http://www.eve-ng.net/repo/eczema@ecze.com.gpg.key | sudo apt-key add -
apt-get update
apt-get -y install software-properties-common
sudo add-apt-repository "deb [arch=amd64] http://www.eve-ng.net/repo xenial main"
@lboue
lboue / cert_install.py
Last active October 24, 2019 21:01 — forked from jasonrahm/cert_install.py
Install certificate and key on BIG-IP, create the file objects, create an SSL profile
def _upload(host, creds, fp):
chunk_size = 512 * 1024
headers = {
'Content-Type': 'application/octet-stream'
}
fileobj = open(fp, 'rb')
filename = os.path.basename(fp)
uri = 'https://%s/mgmt/shared/file-transfer/uploads/%s' % (host, filename)