89d9e184bc
unify Frappy.show and Frappy.show_state
...
+ fix indentation
2024-12-03 14:56:50 +01:00
423366a5c5
improve meaning handling
...
- Moveables with meaning 'temperature' are added to
the 'temperature_regulation' target list
- Devices with meaning 'temperature_regulation' are added
to 'temperature' target list, but with much lower priority
(should be considered only when no sample quantity is detected)
2024-12-03 11:47:22 +01:00
d06b552526
FrappyConfig.__call__: fix bug when main is None
2024-12-03 11:47:22 +01:00
4f1834105b
fix meaning bug
2024-12-03 11:47:22 +01:00
84f70f8204
improve mechanism to determine aliases
...
- meanings from name guessing has sligthly lower importance then
given meanings
- then temperature meaning is missing, take temperature_regulation
2024-12-03 11:47:22 +01:00
771e0fdce7
improve config guess
2024-12-03 11:47:22 +01:00
2189323983
try to avoid 'None' as target
...
use '-' instead
2024-12-03 11:47:21 +01:00
cbb857f439
try to treat FrappyNode.target == 'None' properly
2024-12-03 11:47:21 +01:00
d30bb11bc1
do not show fm.error
...
as it will flood log output
- how to handle this properly?
2024-12-03 11:47:21 +01:00
0869f8b5d9
no warning 'does not match target' while restarting
2024-12-03 11:47:21 +01:00
173ef914d7
fix 2 issues with starting stopping
...
- secnode devices were not disconnected before stopping
leading to error messages
- target of secnodes not properly updated
2024-12-03 11:47:21 +01:00
cb99a73935
FrappyNode.doInit must super call SecNodeDevice.doInit
2024-12-03 11:47:21 +01:00
666cefb6a6
fix error with predef_aliases
2024-12-03 11:47:21 +01:00
4e260decb4
FrappyNode.target must be set after stop but before restart
2024-12-03 11:47:21 +01:00
163e0194b1
FrappyNode.target must be set before restarting servers
2024-12-03 11:47:21 +01:00
81dd4aad23
fix envlist calculation
...
+ fix pathed loggers mechanism
2024-12-03 11:47:21 +01:00
62da0bd55e
add timestamp and ppms setups
2024-12-03 11:47:21 +01:00
a5f6047b75
frappy.show: do not show nicos column if equal to frappy
2024-12-03 11:47:21 +01:00
3cec0ea357
frappy.show_state: do not show partial status
2024-12-03 11:47:21 +01:00
3c41e7cf0c
nicer output of server state
...
- more outstanding output of frappy server state
- frappy() does now alse an update if needed
- frappy.show() to show state only
2024-12-03 11:47:21 +01:00
2dcf8f0cc3
improve detect_changes
...
check also if envlist and aliases have to be rebuilt
2024-12-03 11:47:21 +01:00
24d76e4d2d
[wip] auto sample environment change, basic version
2024-12-03 11:47:21 +01:00
5bd6eeff98
frappy.has_changed() should not be triggered repeatedly
...
fix bug
2024-12-03 11:47:21 +01:00
57e6a73599
rework frappy to be a device instead of a command
...
+ improve proposed config mechanism
2024-12-03 11:47:21 +01:00
5d2e4aeedd
fix bad prefix in frappy_main setup
2024-12-03 11:47:21 +01:00
0e9216629b
se_ prefix may be override by SE_PREFIX env var.
2024-12-03 11:45:14 +01:00
b978489695
improve frappy() command
...
- only informational effect without arguments
- consider also cfg from sea
- on nicos restart, frappy nodes look also for sea device
2024-12-03 11:45:14 +01:00
0642ab7d09
remove disconnected from state
2023-10-17 14:38:48 +02:00
7b08743a3f
add proposed into state
2023-10-17 14:37:19 +02:00
062341ab8a
better text
2023-10-17 14:23:48 +02:00
2c01121ccc
catch error when shutting frappy (sea remove)
2023-10-17 14:18:34 +02:00
03359d5b15
add disconnected services to proposed
2023-10-17 14:07:59 +02:00
9b56a6fb95
fix clearing target on secnode
2023-10-17 14:00:28 +02:00
15cefee221
set secnode target to '' on disconnect
2023-10-17 13:59:16 +02:00
9e489d8cfd
[WIP] fix disconencted info
2023-10-17 13:55:52 +02:00
b97eff8afb
[WIP] add <disconnected> info
2023-10-17 13:54:36 +02:00
aa40e0255b
[WIP} add frappy.update()
2023-10-17 13:39:55 +02:00
15a839bf6c
add frappy.has_changed() to startup
2023-10-17 13:07:57 +02:00
91dde94e24
[WIP] remove givencfgs from result
2023-10-17 13:07:40 +02:00
ee56a23d0b
[WIP] bug fix
2023-10-17 12:54:54 +02:00
f5ac31f25f
[WIP] add 'server' to title line
2023-10-17 11:29:13 +02:00
a54a4054d9
[WIP] do not show given column
2023-10-17 11:21:36 +02:00
da56f6da6d
[WIP] fix call to to_consider in handle_notifcations
2023-10-17 11:17:58 +02:00
04b5c1921b
[WIP] remove 'strict' arg
2023-10-17 11:04:33 +02:00
45fd71077c
[WIP] use get_server_state instead of propose_cfgs
2023-10-17 11:02:27 +02:00
0edda9f5c8
[WIP] show server state at startup only when initial guess failed
2023-10-17 08:40:11 +02:00
0f39271ff1
[WIP] fix 'auto' type
2023-10-17 08:28:34 +02:00
093b27804c
[WIP] show_server_state arg for frappy.has_changed()
2023-10-16 16:03:47 +02:00
b945dd94ec
[WIP] do not show table at setup
2023-10-16 16:00:23 +02:00
6195bfb6e5
[WIP] rename to frappy.has_changed()
2023-10-16 15:57:14 +02:00