01ff1c5e38
Update changelog for 0.11.0-1 release
debian/0.11.0-1
2023-11-24 11:32:40 +01:00
ccc59b7285
packaging(deb): Update dependency version of revpimodio2
...
The new functions for the RO module require the latest version of
revpimodio2.
2023-11-24 11:31:38 +01:00
7d6cd902d2
Merge tag '0.11.0' into pkg/debian
...
Release 0.11.0
2023-11-24 11:30:48 +01:00
c9877d8230
chore: Release 0.11.0
0.11.0
2023-11-24 11:28:09 +01:00
2327c22cbd
feat: New XML-RPC function for async calls of piControl
...
New XML-RPC functions are "ps_switching_cycles" and
"ps_reset_counter" to reset the counters of an DI / DIO module and
get the switching cycles of the new RO module.
This needs RevPiModIO2 2.7.0rc2 as dependency, which is set in this
commit, too.
Signed-off-by: Sven Sager <akira@narux.de >
unstable/0.11.0_rc2
2023-11-15 08:33:42 +01:00
986b52951e
chore: Release 0.11.0rc2
...
Signed-off-by: Sven Sager <akira@narux.de >
2023-11-13 12:34:08 +01:00
0e435fa91b
packaging(deb): Create stable debian releases
...
Creating the stable branch after the RC will allow us to merge changes
to the Debian files from the debian_rc to the stable without
overwriting the values of the gbp.conf.
2023-10-27 16:22:54 +02:00
24c1838eb0
packaging(deb): Create debian release candidate packages
2023-10-27 16:21:52 +02:00
16102a2aa3
feat: New XML-RPC function 'set_plcprogram'
...
With the new XML-RPC function, a new PLC program can be passed, which
is loaded directly and saved in the configuration file.
Signed-off-by: Sven Sager <akira@narux.de >
unstable/0.11.0_rc1
2023-10-26 17:52:31 +02:00
5b4c799c98
fix: Settings name translation has to check the existence of key
...
In the 'xml_setconfig' function, the names of the passed dictionary
are translated into new names. However, there is no obligation to
hand over all fields in the setting dict. This bugfix checks whether
the keys exist before translating.
Refs: 6d56c667
Signed-off-by: Sven Sager <akira@narux.de >
2023-10-26 17:52:31 +02:00
87effde838
fix: Fixes the error that setconfig always reloads the settings
...
The parameter 'loadnow' has not been processed since commit 3222790d
and the settings have always been applied immediately.
Refs: 3222790d
Signed-off-by: Sven Sager <akira@narux.de >
2023-10-26 17:52:31 +02:00
7bc1adcc2a
build: Fix Makefile targets to match GNU coding standards
...
- Rename target clean-all to distclean
- Add uninstall target
- Install target has to run tests
Signed-off-by: Sven Sager <akira@narux.de >
2023-10-26 17:52:31 +02:00
ee32621dcf
build: Add environment variable to set alternative venv path
2023-10-26 17:52:31 +02:00
a5b728dc7c
chore: Release 0.11.0rc1
...
Signed-off-by: Sven Sager <akira@narux.de >
2023-10-26 17:52:31 +02:00
39ad277e3c
packaging(deb): Update control file to standards version 4.3.0
...
Signed-off-by: Sven Sager <akira@narux.de >
2023-09-16 13:32:28 +02:00
4acbff4c0d
Update changelog for 0.10.0-1 release
debian/0.10.0-1
2023-09-01 09:23:49 +02:00
c94b712faf
packaging(deb): Start packaging branch
...
Signed-off-by: Sven Sager <akira@narux.de >
2023-09-01 07:24:58 +02:00
b51c2b617a
chore: Release 0.10.0
0.10.0
2023-07-03 17:04:38 +02:00
6d56c66737
revert: XML-RPC protocol changes
...
Unfortunately, the changes to the XML-RPC protocol from Commit
f591621614 must be undone. The new
strings cause too many compatibility problems with old clients.
2023-07-03 14:21:08 +02:00
9812f8b098
feat: Rename obsolet config file values
...
After changes to the configuration keys for this program, the old ones
are adopted.
2023-07-03 14:15:28 +02:00
279cf39e93
fix: Load all class attributes regardless of configuration
...
Partly, class attributes were not instantiated if certain sections of
the configuration file were missing.
2023-07-03 12:38:57 +02:00
10c9978a4d
feat: Remove shell scripts from data files
...
The setup.py will install the executable to /usr/bin automatically.
2023-06-30 09:42:36 +02:00
71c68ecd5b
docs: Add new wordorder property to example file
...
RevPiModIO 2.6.0 supports wordorder for multi byte IOs. This is also
supported in the replace_ios.conf file.
2023-06-30 08:09:06 +02:00
d97c6fce00
fix: Set dependency of RevPiModIO to final version
2023-06-30 08:07:32 +02:00
617373574a
Bugfix of imports and wordorder for revpi commander
2023-02-16 13:09:04 +01:00
f591621614
Replaces Master-Slave with Client-Server
...
Expunging all occurrences of inappropriate language of the query and
response paradigm of PLC communications. We are familiar with the Modbus
terminology and fully support this change.
https://www.modbus.org/docs/Client-ServerPR-07-2020-final.docx.pdf
2023-02-07 09:54:03 +01:00
affa12712d
Add default files for installation or packaging.
2023-02-06 16:44:47 +01:00
76349cf811
Reorder package to src-layout, switch to GPLv2 license.
...
Move package to src directory and update project base files for build
process.
This project change the LICENSE from GPLv3 to GPLv2 after approval of
all contributors:
https://github.com/kjkoster
2023-02-06 16:41:00 +01:00
f5dc026fbc
Support wordorder for revpi-commander
2022-12-16 15:31:40 +01:00
69d4391ecd
Some additional MQTT updates
2022-07-01 13:25:22 +02:00
c35f372e41
Merge pull request #10 from kjkoster/master
...
MQTT feature request (with code)
2022-06-29 10:26:00 +02:00
Kees Jan Koster
fa19105b85
Add ability to write I/O that has slashes in the names. Those look good on MQTT.
2022-06-15 23:46:55 +02:00
2931600910
New release
0.9.8
2022-05-11 06:08:29 +02:00
1146fccfe6
Object scan in MQTT server uses wrong name source, ignoring export flag
...
The object scan to find IOs on core devices uses the `__slot__` attribute, which include very private objects. That objects are not accessible by `getattr` - Now we are using `dir()`.
Missing objects from parent classes.
Ignored the export flag from piCtory.
closing #9
2022-05-10 11:10:03 +02:00
a5ceb7b369
New release
0.9.7
2022-04-21 15:57:24 +02:00
581c0736be
Improve log information about plc program exit like termed/killed/exit code
2022-04-02 21:47:32 +02:00
cbfd69d852
Code cleanup
2022-04-02 21:45:47 +02:00
b7f4004abb
secure_installation will only reload settings, if daemon is running
...
close #3
2022-04-02 20:58:19 +02:00
a47fae5b7a
Bugfix: Missing core. IOs in MQTT on RevPi FLAT devices
...
Change the function to find direct core IOs on all actual and upcoming devices.
To set a MQTT output (bool) the special value true/false as payload is now case-insensitive.
2022-03-13 09:04:23 +01:00
63d8d73d1a
Bugfix: Write MQTT values without enabled send_on_event
...
Since RevPiModIO2 2.5.6 we have to use the `.writeprocimg()` function to write IO values with enabled `shared_procimg`.
close #6
2022-03-13 08:33:07 +01:00
395574810f
Reset of piControl via ioctl
...
The reset of piControl was made with a call of `piControlReset` or `piTest`.
2021-09-09 11:47:15 +02:00
d8191959c5
The MQTT system sends byte IOs as real byte to the broker
...
Most IOs are `bool()` or `int()`. In some cases users replaced some IO values
as raw bytes. The MQTT system now also sends these as raw bytes.
2021-09-09 09:16:48 +02:00
3fe69b54cc
Parameter for shutdown timeout in seconds for plc program (default is and was 5 seconds)
2021-02-27 15:05:09 +01:00
e4ced5539e
New release
0.9.6
2021-01-31 19:32:05 +01:00
f2984ce2b4
Prepare for new shared_procimg behavior
2021-01-31 12:55:46 +01:00
97884d1b75
Merge remote-tracking branch 'origin/master'
0.9.5
2021-01-14 19:17:28 +01:00
86d6f294a5
New release
2021-01-14 19:17:02 +01:00
a6d794c78e
Bugfix - Do not remove empty plcworkdir on xml_plcdelete_file function
2020-12-28 23:11:38 +01:00
acd61bc2df
Bugfix in upload function
2020-12-28 21:55:13 +01:00
a07fa2e333
Set configured owner of files and directories after plc program upload
...
If 'plcworkdir_set_uid' is set to 1, all uploaded files and new created
directories in plc work dir will set to configured owner and group.
2020-11-27 09:33:15 +01:00