Comments (5)
Hi @chinezbrun, ah I see. So I can better understand, can you tell me how you installed mate3
?
from mate3.
I've just taken a look at the readme and realised it lacked any installation information at all. I've added it now, which should hopefully be helpful to others. Thank you for pointing this out.
I'd still be interested to hear the answer to the above question :-)
from mate3.
i used: pip install mate3
I was able to use the library and the example of the python code w/o any issue
The issue happened when i tried to run the CLI command from the power shell interface
from mate3.
Hum, thank you. I'm testing this out on my machine (macOS) now:
# Creating a fresh virtualenv
$ mkdir test_mate3
$ cd test_mate3
$ pipenv local 3.8.1
$ touch Pipfile
$ pipenv install
$ pipenv shell
# Installing
$ pip install mate3
usage: mate3 [-h] --host HOST [--port PORT] [--format {text,prettyjson,json}]
Read all available data from the Mate3 controller
optional arguments:
-h, --help show this help message and exit
--host HOST, -H HOST The host name or IP address of the Mate3
--port PORT, -p PORT The port number address of the Mate3
--format {text,prettyjson,json}, -f {text,prettyjson,json}
Output format
So it certainly seems to work on my side of things. However, it is possible that there is something that doesn't work on Windows. Unfortunately, if this is the case then I'm not really in a position to debug it.
I'm going to rename this issue to reflect this.
Next steps
Things that will help move this issue forwards:
- Further reports of this issue (has this happened to you? Let me know!)
- A pull request from someone who's in a better position to debug this issue
Thank you again @chinezbrun for reporting this. I'm sorry I cannot do more right now.
from mate3.
Closing @chinezbrun as from other Issues you've posted it sounds like you've got past this?
from mate3.
Related Issues (20)
- Mate3Parser sched_x_ac_mode - disabled mode can not be set HOT 14
- All "N/A" ports, and no devices appearing in mate3_write --list-fields other than Mate HOT 3
- OutBack System Control Block - zero value for some registries HOT 1
- client.read() - help needed HOT 10
- Developer docs HOT 3
- Bugs in some Outback fields?
- On write, fields are still marked as dirty HOT 2
- Clearer outputs for different field types in the CLI and in a JSON export HOT 7
- Use native int to_bytes / from_bytes instead of FixedInt HOT 1
- Add pytest running as part of Github PRs etc. HOT 1
- Store raw registers in field value
- Tidy up the use of `raw_value`
- export to json not working HOT 2
- [question] Performance Speed HOT 3
- Use pymodbus decoding
- can not get cli to run HOT 5
- Poetry install error
- How to write fields with mate3 cli? HOT 2
- Using the library (enhancement)
- Read & export all data in 0.6.2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mate3.