monojk
monojk
Great, this fixed the problem: ``` "strings" .... reqBody = strings.Replace(reqBody, ".", ",", 1) ``` Many thanks, merci beaucoup.
Thanks, it works: ``` $ /home/pi/go/bin/vitotrol -verbose set konf_neigung_rw-0x0b35 1.4 Working with device VT 200 (HO1C)@7501.............. konf_neigung_rw-0x0b35 attribute successfully set to `1,4' $/home/pi/go/bin/vitotrol rget konf_neigung_rw-0x0b35 konf_neigung_rw-0x0b35: 1.4@2024-09-19 09:50:28 (konf_neigung_rw) ```
> @abdullaiahmed , I did the old fashioned (inefficient but probably o.k for the purposes of this exercise) way: `private fun setListeners() { val listId: List = listOf( R.id.box_one_text, R.id.box_two_text,...
How would I install the fix?
> > How would I install the fix? > > just install the latest version. https://github.com/MickMake/GoSungrow/releases How is this done?
I tried different approaches and all fails, like: ``` go install github.com/MickMake/[email protected] go: github.com/MickMake/[email protected]: github.com/MickMake/[email protected]: invalid version: module contains a go.mod file, so module path must match major version ("github.com/MickMake/GoSungrow/v3")...
I use it with commandline, I don't use Home Assistant ``` go install github.com/MickMake/GoSungrow@latest go: github.com/MickMake/GoSungrow@latest (in github.com/MickMake/[email protected]): The go.mod file for the module providing named packages contains one or...
Ok, so installation does not work with go install, but from https://github.com/MickMake/GoSungrow/releases the executable GoSungrow can be downloaded.
I have a problem installing the code on a Raspberry Pi: go install github.com/MickMake/GoSungrow can't load package: package github.com/MickMake/GoSungrow: cannot find package "github.com/MickMake/GoSungrow" in any of: /usr/lib/go-1.11/src/github.com/MickMake/GoSungrow (from $GOROOT) /home/pi/go/src/github.com/MickMake/GoSungrow...