🏡 The source code and issue tracker of my house (powered by @home-assistant)
git clone https://github.com/bdossantos/bds.home ~/Code/bds.home
~/Code/bds.home/scripts/deploy
dhcp-class-identifier "sagem",user-class "+FSVDSL_livebox.Internet.softathome.Livebox3",option-90 $thescriptoutputsubnet-mask,broadcast-address,dhcp-lease-time,dhcp-renewal-time,dhcp-rebinding-time,domain-search,routers,domain-name-servers,option-90This helper script help you to generate Send options section:
#!/usr/bin/env bash
login='fti/*******'
pass='*********'
tohex() {
for h in $(echo $1 | sed "s/\(.\)/\1 /g"); do
printf %02x \'$h
done
}
addsep() {
echo $(echo $1 | sed "s/\(.\)\(.\)/:\1\2/g")
}
r=$(dd if=/dev/urandom bs=1k count=1 2>&1 | md5sum | cut -c1-16)
id=${r:0:1}
h=3C12$(tohex ${r})0313$(tohex ${id})$(echo -n ${id}${pass}${r} | md5sum | cut -c1-32)
echo 00:00:00:00:00:00:00:00:00:00:00:1A:09:00:00:05:58:01:03:41:01:0D$(addsep $(tohex ${login})${h})
Content type
Image
Digest
sha256:ed6421208…
Size
412.9 MB
Last updated
22 days ago
docker pull bdossantos/home-assistant