https://pickerroad.pages.dev/posts/smart-ball-valve/