Search found 299 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 30
by RevPiModIO
15 Sep 2023, 16:37
Forum: Software
Topic: Alternative zu revpimodio2 zur Ansteuerung von Ausgängen via python
Replies: 3
Views: 283

Re: Alternative zu revpimodio2 zur Ansteuerung von Ausgängen via python

Hi Andreas, da ist aber richtig etwas "schief" gegangen bei der Umstellung von LGPLv3 auf LGPLv2. Vielen Dank für den Hinweis. Die LICENSE.txt enthält jetzt den richtigen Lizenztext.

Gruß
Sven
by RevPiModIO
15 Sep 2023, 13:33
Forum: Software
Topic: Alternative zu revpimodio2 zur Ansteuerung von Ausgängen via python
Replies: 3
Views: 283

Re: Alternative zu revpimodio2 zur Ansteuerung von Ausgängen via python

Also generell ist die Lizenz von RevPiModIO ab Version 2.6.0 LGPLv2 - Diese sollte eigentlich keine Probleme verursachen. Kannst du mir bitte die genauen Stellen nennen, wo es nicht passt? Diese Stellen müssen vermutlich angepasst werden. RevPiModIO2 = LGPLv2 RevPiPyLoad = GPLv2 RevPiCommander = GPL...
by RevPiModIO
18 Aug 2023, 09:10
Forum: RevPiModIO
Topic: Python RevPiModIO library sometimes fails to change output state
Replies: 7
Views: 2027

Re: Python RevPiModIO library sometimes fails to change output state

An RC version for fixing the bug is now available on GitHub and as a Debian package. https://github.com/naruxde/revpimodio2/tree/fix/shared-procimg-values http://revpimodio.org/dnl/python3-revpimodio2_2.6.1~1-1_all.deb It would be nice if it could be tested. The installation of the Debian package ca...
by RevPiModIO
16 Aug 2023, 18:38
Forum: RevPiModIO
Topic: Python RevPiModIO library sometimes fails to change output state
Replies: 7
Views: 2027

Re: Python RevPiModIO library sometimes fails to change output state

Perfect, I think I found the error and can release a new version as RC this week. Could you please test it then?
by RevPiModIO
16 Aug 2023, 09:48
Forum: Software
Topic: Autostart python folder
Replies: 9
Views: 936

Re: Autostart python folder

Could you check also the log file: `cat /var/log/revpipyloadapp`?

It looks like the program crashes, the outputs from the program itself are in the file `revpipyloadapp`, I forgot to mention in the last post, sorry. :D
by RevPiModIO
16 Aug 2023, 08:08
Forum: Software
Topic: Autostart python folder
Replies: 9
Views: 936

Re: Autostart python folder

And it's running now? Are the sections [MQTT], [XMLRPC], etc. also double in your configuration file? If so, please delete the duplicate occurrences completely. The value `plcprogram_watchdog = 1` is not good! The number is the timeout in seconds. If you activate the software watchdog, it must also ...
by RevPiModIO
15 Aug 2023, 15:27
Forum: Software
Topic: Autostart python folder
Replies: 9
Views: 936

Re: Autostart python folder

Please check the `autostart=1` parameter in /etc/revpipyload/revpipyload.conf. It must be `1`.

Checkout `plcuid` and `plcgid` maybe you have to change the values, if you need your script running as root.

https://revpimodio.org/en/revpipyplc-2/revpipyload/

Regards
Sven
by RevPiModIO
10 Jul 2023, 11:09
Forum: RevPiModIO
Topic: Python RevPiModIO library sometimes fails to change output state
Replies: 7
Views: 2027

Re: Python RevPiModIO library sometimes fails to change output state

Hi Alex! It could really be that `shared_procimg=True` cause that problems. I just have a similar problem report with the flag on GitHub. If you do not need the `shared_procimg=True` because no other Python processes access the process image, I would ask you to remove it / set it to False. If you co...
by RevPiModIO
10 Jul 2023, 07:37
Forum: RevPiModIO
Topic: Python RevPiModIO library sometimes fails to change output state
Replies: 7
Views: 2027

Re: Python RevPiModIO library sometimes fails to change output state

Hi Alex!

The use of RevPiModIO looks just right. You are probably using a single instance for your entire program, which is recommended.

For me, it would be important to know which parameters you use in the instance (autorefresh, shared_procimg, etc.).

Gruß
Sven
by RevPiModIO
23 Jun 2023, 08:47
Forum: RevPiModIO
Topic: RTD value is not displayed well.
Replies: 2
Views: 374

Re: RTD value is not displayed well.

Hi kimgama! You are using the "Memory-Values", which just define the type of your analog inputs. Just change your Code like this: # Change RTD_Value_* to AIn_* ai_value = rpi.io['AIn_1'].value / 10 ai_value2 = rpi.io['AIn_2'].value / 10 Now you get the temperature with a decimal place. Gre...
  • 1
  • 2
  • 3
  • 4
  • 5
  • 30