openhems

v0.3.5 safe
2.4
Low Risk

A sample Home Energy Managment System based on Home-Assistant

📦 Package Quality Overall: Medium (5.6/10)

✦ High Test Suite 9.0

Test suite present — 7 test file(s) found

  • Test runner config found: pyproject.toml
  • 7 test file(s) detected (e.g. test_command_line_utils.py)
✦ High Documentation 9.0

Well-documented package

  • Documentation URL: "Documentation" -> https://openhems.readthedocs.io/en/latest/
  • 1 documentation file(s) (e.g. conf.py)
  • Detailed PyPI description (11048 chars)
○ Low Contributing Guide 4.0

No contributing guide or governance files found

  • Development Status classifier >= Beta
◈ Medium Type Annotations 5.0

Partial type annotation coverage

  • 144 type-annotated function signatures detected in source
○ Low Multiple Contributors 1.0

Could not retrieve contributor data from GitHub

  • GitHub API error: 401

🔬 Heuristic Checks

⚠ Outbound Network Calls score 4.5

Found 3 network call pattern(s)

  • else 502 error response = requests.get(url, timeout=10, allow_redirects=False, headers={'U
  • data is None: response = requests.get(self.apiUrl+url, headers=headers, timeout=5 # veri
  • ) else: response = requests.post(self.apiUrl+url, headers=headers, json=data, timeout=15
⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • ")) self._data = None def eval(self): """ Launch EMHASS optimization plan and store res
  • ould be impossible : Relaunch eval()? self.logger.error("No row in data previsions from EMHA
  • tegy.check() : eval") self.eval() self.nextEvalDate = datetime.datetime.now() + self.eval
  • () + self.evalFrequence def eval(self): """ This function must be overload """ self.l
  • .logger.debug("EnergyStrategy.eval() must be overload") def apply(self, cycleDuration, now):
  • strategy must implement : - eval() - apply(cycleDuration, now) """ if now is None: n
✓ Shell / Subprocess Execution

No shell execution patterns detected

⚠ Credential Harvesting score 2.5

Found 1 credential access pattern(s)

  • options_path, os.getenv("SECRETS_PATH", default="/app/secrets_emhass.yaml"), bool(n
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: openhomesystem.com>

⚠ Suspicious Page Links score 2.0

Found 1 suspicious link(s) on the package page

  • Non-HTTPS external link: http://192.168.1.202:8000/?n=1
⚠ Git Repository History score 3.0

GitHub API error: 401

  • GitHub API error: 401
⚠ Maintainer History score 2.0

1 maintainer concern(s) found

  • Author "OpenHomeSystem" appears to have only 1 package on PyPI (new or inactive account)
✓ Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

💡 AI App Starter Prompt

Use this prompt to build a project with openhems
Build a simple Python application using the openhems package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

No discussion yet. Be the first to share your thoughts!