Scan your whole stack
From OX Research Newsroom
Are you using pyscinan?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.1
pyscinan was last scanned on 23 Nov 2026 at version 0.1.1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.1 LATEST | 23 Nov 2026 | No rules fired |
| 0.1.0 | 23 Nov 2026 | No rules fired |
Findings for v0.1.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.1.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Async Python library for Saswell (Scinan platform) Wi-Fi thermostats.
Both clients fill the same ScinanDevice model. Used by the
Scinan Saswell Thermostat Home Assistant integration.
Tested with the Saswell SAS920FHL-7W-WIFI (electric floor heating). Other thermostats using a Saswell Thermostat app (for example SAS922WHL-7W-S-WIFI and Prosmart PST50W) are known to work with the cloud API.
pip install pyscinan
Requires Python 3.12 or newer.
The thermostat must already be on your Wi-Fi (set it up with the Thermostat app). Give it a fixed IP address; it can't be discovered automatically.
import asyncio
from pyscinan import DeviceMode, ScinanLocalClient
async def main():
async with ScinanLocalClient("192.168.1.50") as client:
dev = client.device
print(dev.device_id, dev.current_temperature, dev.target_temperature, dev.mode)
client.add_listener(lambda: print("update:", dev.current_temperature, dev.target_temperature))
await client.set_temperature(21.5)
await client.set_mode(DeviceMode.COMFORT)
await client.set_away(True) # "off" on floor heating thermostats
await asyncio.sleep(60) # pushes arrive every 15 s and on every change
asyncio.run(main())
Every command returns the status the thermostat answers with. A command the thermostat ignores (for example power on the SAS920FHL) returns the unchanged status, so compare it with what you asked for.
from pyscinan import ScinanCloudClient
async with ScinanCloudClient("email@example.com", "password") as cloud:
devices = await cloud.update_devices()
for dev in devices.values():
print(dev.device_id, dev.name, dev.online, dev.target_temperature)
await cloud.set_temperature(dev.device_id, 21.5)
Pass session= to reuse an aiohttp.ClientSession. Note that the Saswell cloud only supports plain HTTP.
pyscinan status 192.168.1.50
pyscinan listen 192.168.1.50 --seconds 60
pyscinan settemp 192.168.1.50 21.5
pyscinan away 192.168.1.50 on
pyscinan mode 192.168.1.50 1 # 0 Comfort, 1 Auto (schedule), 2 Day or night
pyscinan cloud-list email@example.com # password from $SCINAN_PASSWORD or a prompt
pyscinan --help
See PROTOCOL.md for everything known about the local protocol and the cloud API.
uv sync
uv run pytest
uv run ruff check .
The tests use a fake thermostat (TCP) and a fake cloud server, so no hardware or account is needed.
scripts/hw_settings_test.py runs against a real thermostat and changes its settings (then restores them).
Not affiliated with Saswell or Scinan. Use at your own risk.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.