Andrew
Andrew
Not sure what you are doing, but using `print()` as output to a web server or something is probably not a good design.
I think the only option currently is to hack the event subscription to receive alarms. How events work is almost the same as alarms. I think someone made an issue...
So is the plan to extend `server.get_event_generator(etype, myobj)` to check the event type and if it finds an Alarm type to add the functionality from your example?
If you are getting the value only via OPC DA, why should OPC UA work? It looks like there is some kind of OPC UA to DA middleware on your...
Did you check OPC UA spec if its allowed to have no return arguments? I can't remember.
I do not think using extension objects with methods is well tested and I'm not sure how the associated python function will react.
The last person that had this issue said that the cause was a corporate laptop with some security stuff blocking opc ua.
I guess we don't have an example for it, but if I remember correctly, you need to implement a `UserManager`. https://github.com/FreeOpcUa/python-opcua/blob/913325635c9fa38b26c8b6227e9a0a6d3582f1bb/opcua/server/user_manager.py Maybe you can make a server example for this...
I seem to remember that some policies were actually removed from the `crypto` library because they are outdated and insecure.