Commit Graph

238 Commits

Author SHA1 Message Date
Robert von Burg f3b01acc9c [Fix] Async fixes in sending and notifying of server 2020-06-17 09:22:36 +02:00
Robert von Burg df5cd6b655 [Fix] Multiple fixes for PLC 2020-06-09 23:19:07 +02:00
Robert von Burg 3d61374861 [New] LogMessages use PlcId as username, for filtering 2020-06-05 15:46:10 +02:00
Robert von Burg b319876a54 [New] Added virtual integers 2020-06-03 20:58:16 +02:00
Robert von Burg 5ef1b8b22e [Minor] code cleanup 2020-05-28 14:25:18 +02:00
Robert von Burg 857fec361f [Minor] don't notify server of not connected, duh =) 2020-05-28 14:21:22 +02:00
Robert von Burg 800978e5a2 [Minor] better handling of not being authenticated in PlcGwClientHandler 2020-05-27 18:04:50 +02:00
Robert von Burg 85f66a2fcd [Fix] Fixed broken test 2020-05-27 11:49:34 +02:00
Robert von Burg f99fac43fd [Major] Moved LogMessage class to strolch-model project 2020-05-27 10:44:13 +02:00
Robert von Burg befa810fe4 [Major] Added simulated mode, and async message sending with queue for start-up 2020-05-26 17:39:18 +02:00
Robert von Burg e0119b5270 [Major] Refactoring PLC to I18n messages 2020-05-15 17:25:08 +02:00
Robert von Burg 43f0fb378f [New] Implemented keepAlive of strolch sessions 2020-05-11 17:49:07 +02:00
Robert von Burg ba12785f9e [Minor] fixed broken test 2020-05-05 12:40:15 +02:00
Robert von Burg a961b08a6c [Project] Added component dependency from PostInitializer to StrolchJobsHandler 2020-05-03 00:37:25 +02:00
Robert von Burg 67273317f3 [New] Requiring Usage when authenticating 2020-04-23 10:06:30 +02:00
Robert von Burg 0788528793 [Fix] Synchronize I2C communication, so that message can't overtake each other 2020-04-17 11:17:48 +02:00
Robert von Burg d9f5132610 [Fix] Allow Action2 to be empty for output in PlcAddressGenerator 2020-04-15 13:08:38 +02:00
Robert von Burg cd2757a488 [New] PlcGwService.register(String, String) now returns PlcAddressKey 2020-04-15 13:08:23 +02:00
Robert von Burg 2f02bfec1c [New] PlcAddressGenerator now handles invert for inputs 2020-04-09 17:25:15 +02:00
Robert von Burg fbfdfeca58 [Fix] Trim values in PlcAddressGenerator 2020-04-08 16:44:41 +02:00
Robert von Burg 83be05028a [Fix] i18n fix 2020-04-08 16:44:16 +02:00
Robert von Burg 9626326904 [Fix] Added missing dependency strolch-plc-gw-server in bom 2020-04-06 20:49:54 +02:00
Robert von Burg aa4d8c4155 [New] Added new PlcConnection RSL366OverHorterI2c 2020-04-01 16:24:39 +02:00
Robert von Burg 0c5d9912a6 [New] Added PlcAddressResponse.state() chain method 2020-04-01 16:24:13 +02:00
Robert von Burg f009ab8179 [New] Added PlcGwService.register(String, String) 2020-04-01 16:23:47 +02:00
Robert von Burg a97fcac61a [Fix] Call listener in PlcGwService 2020-04-01 16:23:22 +02:00
Robert von Burg 9cfef69b24 [New] Implemented PlcTelegram message in PlcGwClientHandler 2020-04-01 16:22:41 +02:00
Robert von Burg 3a58dfcb0f [Major] PlcGwService.run* calls PlcGwServerHandler, using a configurable runAsUser 2020-04-01 16:22:07 +02:00
Robert von Burg 38fe3f8345 [Minor] Code cleanup 2020-04-01 16:19:16 +02:00
Robert von Burg 68c9507476 [Project] Updated the readme with a PlcService example 2020-04-01 11:43:31 +02:00
Robert von Burg 4e07fe99a0 [Project] PlcAddressGenerator uses SubTypes Pin, DevPin and DevPin0 2020-04-01 11:31:12 +02:00
Robert von Burg 70369fe85d [Project] Added more text to README.md 2020-03-31 08:45:17 +02:00
Robert von Burg 68ab1b4bd6 [Project] Added more text to README.md 2020-03-31 08:40:08 +02:00
Robert von Burg a32c7cd29b [Project] Add link to documentation 2020-03-30 22:43:14 +02:00
Robert von Burg 34f806e46a [New] Added RaspiBcmGpioInputConnection 2020-03-30 18:17:59 +02:00
Robert von Burg 487a354eb1 [Project] Added plc-bom 2020-03-30 18:17:42 +02:00
Robert von Burg a04fd71d0b [Major] Changed PlcAddressGenerator to handle different sub types (PCF8574, GPIO) for input or output 2020-03-30 18:17:24 +02:00
Robert von Burg d281fb0805 [Major] Moved PlcNotificationListener to gw-server 2020-03-30 18:16:34 +02:00
Robert von Burg f5a488fc38 [Minor] logger changes in DataLogicScannerConnection 2020-03-25 11:31:42 +01:00
Robert von Burg 7991f30fbd [Fix] Fixed PlcResponseState.isFailed to use Failed, not Sent enum 2020-03-19 08:26:32 +01:00
Robert von Burg a440fc18dd [New] Added PlcConstants.PARAM_ENABLED and .PARAM_WARNING 2020-03-16 17:12:31 +01:00
Robert von Burg ebfeca7c4d [New] Added PlcGwService.getComponent() 2020-03-16 17:12:08 +01:00
Robert von Burg ba13628be6 [Minor] Set silent threshold to 60ms 2020-03-03 15:59:41 +01:00
Robert von Burg 8f1aae0774 [Fix] Fixed broken tests 2020-02-28 17:03:45 +01:00
Robert von Burg d9dcb0e147 [Fix] Fixed broken tests 2020-02-28 17:03:32 +01:00
Robert von Burg e77f88256d [Major] No need to pass container into constructor for PlcGwService 2020-02-28 16:58:52 +01:00
Robert von Burg 4ceb856f7a [Major] Refactored PlcHandler.register() and unregister(), add .getContainer(), removed from svc constructor 2020-02-28 16:07:17 +01:00
Robert von Burg 65c30f47c9 [Fix] Fixed wrong name generated for output action 2 2020-02-28 16:06:10 +01:00
Robert von Burg 8dead3c65e [Minor] Set silentThreshold for TXs in DefaultPlcHandler to 100ms 2020-02-28 09:38:17 +01:00
Robert von Burg 960d30f4c6 [Fix] Don't update state on PlcHandler.send(), as we get notified by the PLC after sending anyhow 2020-02-28 09:37:47 +01:00