Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REST setExportTarget failing with type error #334

Open
springfall2008 opened this issue Jan 18, 2025 · 2 comments
Open

REST setExportTarget failing with type error #334

springfall2008 opened this issue Jan 18, 2025 · 2 comments

Comments

@springfall2008
Copy link

I tried REST 'setExportTarget' with payload {'exportToPercent': '4', 'slot': '1'}

The result is a failure as follows:

2025-01-18 17:11:53,301 - GivTCP - write - [ERROR ] - Setting Export Target 1 failed: ('TypeError', 'write.py', 317)
2025-01-18 17:12:08,621 - GivTCP - write - [ERROR ] - Setting Export Target 1 failed: ('TypeError', 'write.py', 317)
2025-01-18 17:12:24,523 - GivTCP - write - [ERROR ] - Setting Export Target 1 failed: ('TypeError', 'write.py', 317)
2025-01-18 17:12:39,845 - GivTCP - write - [ERROR ] - Setting Export Target 1 failed: ('TypeError', 'write.py', 317)
2025-01-18 17:12:55,475 - GivTCP - write - [ERROR ] - Setting Export Target 1 failed: ('TypeError', 'write.py', 317)

Any ideas?

@springfall2008
Copy link
Author

Note: This is on the latest release not on a beta/dev

@springfall2008
Copy link
Author

Actually it works if I use dischargeToPercent and setDischargeTarget

I don't know what the setExportTarget REST function actually does not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant