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

[Feature] notifications by the nas in ioBroker object #197

Open
DcFamas opened this issue Oct 20, 2022 · 7 comments
Open

[Feature] notifications by the nas in ioBroker object #197

DcFamas opened this issue Oct 20, 2022 · 7 comments
Labels
enhancement New feature or request

Comments

@DcFamas
Copy link

DcFamas commented Oct 20, 2022

Hey there,
I was always wondering, why there isn't an iobroker object which shows the notifications of the nas. For example, that there is a new update:

grafik

Would it be possible to implement this into the iobroker adapter?

If you need any information, don't hesitate to ask. :)

Thanks!

@mcm1957 mcm1957 added the enhancement New feature or request label Oct 20, 2022
@mcm1957
Copy link
Member

mcm1957 commented Oct 21, 2022

Thnaks for the suggestion. It seems very useful.

I will check whether this information is already available somehow. BUT (currently) the ioBroker.synology adapter only provides the information published by https://github.com/kwent/syno (see #195) and this project seems to be not very active currently.

@mcm1957 mcm1957 changed the title Feature request: notifications by the nas in ioBroker object [Feature] notifications by the nas in ioBroker object Oct 23, 2022
@DcFamas
Copy link
Author

DcFamas commented Nov 3, 2022

Hey there,
I'm really not into programming, but maybe it is realtivly easy to check the version of the newest DSM version on this page:
https://www.synology.com/de-de/releaseNote/DSM

And just compare it to the synology.0.DiskStationManager.info.version_string ?

Best regards :)

@mcm1957
Copy link
Member

mcm1957 commented Nov 4, 2022

Hey there, I'm really not into programming, but maybe it is realtivly easy to check the version of the newest DSM version on this page: https://www.synology.com/de-de/releaseNote/DSM

And just compare it to the synology.0.DiskStationManager.info.version_string ?

Best regards :)

This adapter will definitly not check synologies web page.
At least starting with DSM 7 Synology Boxes get updates as needed. Synology stated that not all Boxes get all Updates immidiatly if they are not effected by a fix. So any check at the webpage would require either excessiv parsing or could leead to false positives.

Maybe an snmp value exists to signal an available update. I'll check the synology oids if I have spare time and post the result.

Sorry, that I cannot help more at this time

@mcm1957
Copy link
Member

mcm1957 commented Nov 5, 2022

Synology offers a snmp oid to report whether an update is available.
See page 7 of snmp Guide: https://global.download.synology.com/download/Document/Software/DeveloperGuide/Firmware/DSM/All/enu/Synology_DiskStation_MIB_Guide.pdf

OID should be 1.3.6.1.4.1.6574.1.5.4 / upgradeAvailable / Integer with values
Available(1)
Unavailable(2)
Connecting(3)
Disconnected(4)
Others(5)

Note that I did not yet test the oid.

ioBroker.snmp adapter should be avle to retrieve the data.

@DcFamas
Copy link
Author

DcFamas commented Nov 9, 2022

Hey there,
thank you for the hint. snmp v2c works like a charme.
I don't know why, but you have to handle those OID, for example the one for upgradeAvailable is:
.1.3.6.1.4.1.6574.1.5.4.0

For me this is the solution I can live with, so feel free to update this adapter or not.

Best regards :)

grafik

@mcm1957
Copy link
Member

mcm1957 commented Nov 9, 2022

@DcFamas
I'm not sure how to reach you. You do not publish an email address.

You opened a PR at ioBroker.snmp asking for snmpV3. Guess it should have been a issue. Such isseu exists already.
Anyway: SNMP V3 IS available starting with v2.2.0 currently available at latest repository. Please feel free to test it. Note that releases available at latest are not completly tested - so use it AT OWN RISC or wait until it is released to stable.

@DcFamas
Copy link
Author

DcFamas commented Nov 9, 2022

I'm going to test it. Thank you. :)

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

No branches or pull requests

2 participants