Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add-on store and cannot be restarted until reboot #32

Open
ve6rah opened this issue Sep 27, 2024 · 1 comment
Open

Add-on store and cannot be restarted until reboot #32

ve6rah opened this issue Sep 27, 2024 · 1 comment

Comments

@ve6rah
Copy link

ve6rah commented Sep 27, 2024

Describe the bug
Every couple of days the Add-on stops completely. Restarting the Add-on does not work at this point, and only a full reboot of the system brings it back.

To Reproduce
Steps to reproduce the behavior:

  1. Start add-on
  2. Wait 1-2 days

Expected behavior
Add-on should stay running, and if stopped should be able to be started again

(please complete the following information):

  • OS: HAOS, most recent version

Additional context
Log:

Time Between Readings = 15
Duration =  120
Electric Unit of measurement =  kWh
Gas Unit of measurement =  ft³
Water Unit of measurement =  l
Gas Multiplier =  1.0
Electric Multiplier =  1.0
Water Multiplier =  1.0
Debug is  false
Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
Tuned to 100000000 Hz.
Allocating 15 zero-copy buffers
00:39:08.348747 decode.go:45: CenterFreq: 912600155
00:39:08.349469 decode.go:46: SampleRate: 2359296
00:39:08.349504 decode.go:47: DataRate: 32768
00:39:08.349525 decode.go:48: ChipLength: 72
00:39:08.349541 decode.go:49: PreambleSymbols: 16
00:39:08.349559 decode.go:50: PreambleLength: 2304
00:39:08.349578 decode.go:51: PacketSymbols: 128
00:39:08.349597 decode.go:52: PacketLength: 18432
00:39:08.349619 decode.go:59: Protocols: scm+
00:39:08.349639 decode.go:60: Preambles: 0001011010100011
00:39:08.349659 main.go:124: GainCount: 29
00:39:13.354189 main.go:343: Receiver context cancelled.
00:39:13.354424 main.go:320: read tcp 127.0.0.1:51236->127.0.0.1:1234: i/o timeout
io.ReadFull
main.(*Receiver).Run.func2
	/go/pkg/mod/github.com/bemasher/[email protected]/main.go:181
runtime.goexit
	/usr/lib/go/src/runtime/asm_amd64.s:1695
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
Signal caught, exiting!
Signal caught, exiting!
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
Starting RTLAMR with parameters:
AMR Message Type = scm+
AMR Device IDs = 76060195,94078372
Time Between Readings = 15
Duration =  120
Electric Unit of measurement =  kWh
Gas Unit of measurement =  ft³
Water Unit of measurement =  l
Gas Multiplier =  1.0
Electric Multiplier =  1.0
Water Multiplier =  1.0
Debug is  false
Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
Tuned to 100000000 Hz.
Allocating 15 zero-copy buffers
00:39:22.338328 decode.go:45: CenterFreq: 912600155
00:39:22.338886 decode.go:46: SampleRate: 2359296
00:39:22.338920 decode.go:47: DataRate: 32768
00:39:22.338941 decode.go:48: ChipLength: 72
00:39:22.338961 decode.go:49: PreambleSymbols: 16
00:39:22.339015 decode.go:50: PreambleLength: 2304
00:39:22.339036 decode.go:51: PacketSymbols: 128
00:39:22.339055 decode.go:52: PacketLength: 18432
00:39:22.339080 decode.go:59: Protocols: scm+
00:39:22.339103 decode.go:60: Preambles: 0001011010100011
00:39:22.339125 main.go:124: GainCount: 29
00:39:27.344055 main.go:343: Receiver context cancelled.
00:39:27.344230 main.go:320: read tcp 127.0.0.1:34158->127.0.0.1:1234: i/o timeout
io.ReadFull
main.(*Receiver).Run.func2
	/go/pkg/mod/github.com/bemasher/[email protected]/main.go:181
runtime.goexit
	/usr/lib/go/src/runtime/asm_amd64.s:1695
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
Signal caught, exiting!
Signal caught, exiting!
@ve6rah
Copy link
Author

ve6rah commented Nov 27, 2024

Nothing?

I guess this is abandonware at this point. anyone have any alternatives for getting AMR devices into HA?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant