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

Standard mode on OpenBSD 7.6 #17

Open
aquicassou opened this issue Dec 11, 2024 · 0 comments
Open

Standard mode on OpenBSD 7.6 #17

aquicassou opened this issue Dec 11, 2024 · 0 comments

Comments

@aquicassou
Copy link

Hi there !
First and foremost thanks @syberalexis for providing this exporter!
Updating our OpenBSD box to 7.6 we have recompiled the linky-exporter. It seems it doesn't recognize the TIC content anymore.
Here is some context:

# linky-exporter --device /dev/cuaU0 --port=9102 --standard --debug
INFO[0000] Debug mode enabled !
INFO[0000] Begining to serve on port :9102

And that's it, the exporter is stuck there. An interesting experiment, though, is this:

# linky-exporter --device /dev/cuaU0 --port=9102 --baud=9600 --parity=ParityNone --size=7 --stopbits=Stop1 --debug
INFO[0000] Debug mode enabled !
DEBU[0000] Parse parity ParityNone
DEBU[0000] Parse Stop Bits Stop1
INFO[0000] Trying to auto detect TIC mode...
DEBU[0000] It's not standard mode !
DEBU[0000] It's not historical mode !
DEBU[0000] device:/dev/cuaU0 mode:{0 0 0 0} baudrate:9600 framesize:7 parity:0 stopbits:0
FATA[0000] Impossible to auto detect TIC mode !

It seems the exporter doesn't find what it looks for in the TIC stream.
Here is what we can grab from cuaU0 with minicom:

ADSC    XXXXXXXXXXXX    7
VTIC	02	J
DATE	H241211130732		<
NGTF	      BASE      	<
LTARF	      BASE      	F
EAST	052757467	:
EASF01	052524408	@
EASF02	000233059	9
EASF03	000000000	$
EASF04	000000000	%
EASF05	000000000	&
EASF06	000000000	'
EASF07	000000000	(
EASF08	000000000	)
EASF09	000000000	*
EASF10	000000000	"
EASD01	050437647	D
EASD02	001698246	E
EASD03	000170759	?
EASD04	000450815	:
IRMS1	006	4
URMS1	237	F
PREF	06	E	PCOUP	06	_
SINSTS	01434	R
SMAXSN	H241211122550	03080	2
SMAXSN-1	H241210130438	02050	O
CCASN	H241211130000	01627	:
CCASN-1	H241211120000	00649	Z
UMOY1	H241211130000	236	(
STGE	00DAC001	^
MSG1	     PAS DE          MESSAGE    	<
PRM	16140520874326	2
RELAIS	000	B
NTARF	01	N
NJOURF	00	&
NJOURF+1	00	B
PJOURF+1	00008001 NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE NONUTILE	9

Any advice would be greetly appreciated.
I'm using the latest commit (5884599).

Adishatz !

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