Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Node to get the current locations and other metrics of connected Apple devices.

License

NotificationsYou must be signed in to change notification settings

PfisterDaniel/node-red-contrib-apple-find-me

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-red-contrib-apple-find-me

This is a node-red node to get the current locations and other metrics of connected Apple devices.

It work's without 2-Factor-Authentication (2FA) and retrive all connected devices.

Important: Family-Devices are not longer working!

Donation:

You can buy me a coffee or two if you find helpfull my node.

If you buy me a coffee I would like to thank you in advance for your donation.

Donate

Installation

NPMDownloadsCurrent Release

Install from your Node-RED Manage Palette

or

Install using npm

$ npm install node-red-contrib-apple-find-me

Redmatic:

$ source /usr/local/addons/redmatic/home/.profile$ cd /usr/local/addons/redmatic/var$ npm install --save --no-package-lock --global-style --save-prefix="~" --production node-red-contrib-apple-find-me

Check for Updates:

$ npm outdated

Update:

$ npm install node-red-contrib-apple-find-me@latest

Nodes:

Nodes

Examples:

NodeExample

Parameter (Account):

ParameterDescription
NameNode Name
Apple IDself explanatory
Passwordself explanatory
TimezoneSelect your Timezone
FormatDefine your Time-Format
Request-TimeoutDefine Request-Timeout in seconds

Parameter (Locate my Devices):

ParameterDescription
AccountYour Apple Account
NameNode Name
Geo-APIOpenStreetMaps, HereMaps or GoogleMaps (HereMaps and GoogleMaps needs an API-KEY)
Trigger IntervalHow often should the devices be updated
PlacesDefine locations that should be specified in the payload if the device is within a 150 meter radius

Parameter (Locate my Devices with Payload):

ParameterDescription
AccountYour Apple Account
NameNode Name
Geo-APIOpenStreetMaps, HereMaps or GoogleMaps (HereMaps and GoogleMaps needs an API-KEY)
PlacesDefine locations that should be specified in the payload if the device is within a 150 meter radius

Parameter (Send Message):

ParameterDescription
AccountYour Apple Account
NameNode Name
Device-IDID of the iOS-Device (You can get it with the Locate my Devices Node)
MessageID of the iOS-Device (You can get it with the Locate my Devices Node)

Parameter (Find my Phone):

ParameterDescription
AccountYour Apple Account
NameNode Name
Device-IDID of the iOS-Device (You can get it with the Locate my Devices Node)

How to use

  • AddLocate my Devices node or aLocate my Devices (run with Payload) node to your flow
  • Create Account-Information
  • Setting Properties and enjoy

Features

  • Define places
  • Retriev device metrics (ModelName, ModelImage, DeviceID, DisplayName, BatteryLevel, BatteryState)
  • Retriev location information (Latitude, Longitude, CurrentPlace, CurrentAddress, OSM-Url, GoogleMaps-Url)
  • Run Find my iPhone
  • Send Message to an iOS Device
  • Add new node within you can locate your devices by incoming an input

Example Payload (Locate my Devices):

{"<ModelType> e.g: MacBook Pro or iPhone":[{"modelName":"<ModelName> e.g: MacBook Pro 13\"","modelImageLink_Small":"<ModelImageSmallLink>","modelImageLink_Medium":"<ModelImageMediumLink>","modelImageLink_Large":"<ModelImageLargeLink>","deviceID":"<Unique DeviceID>","displayName":"<DiviceName> e.g: Daniel's MacBook Pro","batteryLevel":"<BatteryLevel in percent> e.g 53","batteryState":"<BatteryStatus> e.g: CHARGING","locationInfo":{"distances":[{"name":"HOME","distance_in_meter":<Distance in meter> e.g 200,"distance_in_km":<Distance in kilometer> e.g 0.2,"distance_in_miles":<Distance in miles> e.g 0.3}]},"altitude":0,"latitude":0.00000000000,"longitude":0.00000000000,"isInaccurate":false,"isOld":false,"positionType":"Wifi or GPS","horizontalAccuracy":"<Accuracy in meters> e.g: 65","verticalAccuracy":0,"currentPlace":"<if device in place then its here the name of place when distance < 150 meters>","currentAddress":{<Address-Object from OpenStreetMap, HereMap or GoogleMaps>},"osmUrl":"<OpenStreetMaps Url>","googleUrl":"<GoogleMaps Url>","locationTimeStamp":"<TimeStamp of last location> e.g: 2020-11-10 14:51:12"},"refreshTimeStamp":"<RefreshTimeStamp> e.g: 2020-11-10 14:54:22"}]}}

Changelog

VersionDescription
1.0.0Initial Version
1.0.1Add BatteryStatus
1.0.2Nodes now available through the Node-Red palette
1.0.3Bug with Places solved
1.0.4Added Find my iPhone and send message, Geolocation GoogleMaps
1.0.5Added new Node (apple-find-me-with-payload), API-Key now a Password-Fields
Added Descriptions
1.0.6Change from node-red-apple-find-me to node-red-contrib-apple-find-me
1.0.7Issue #4 (Send Message) solved
1.0.8Bug fixed: Crash if address was not found
1.0.9Added Timezone and Time-Format
1.1.0Remove Family-Devices (not longer working)Issue #15
1.1.1Change Version
1.1.2Add Request-Timeout Settings in Account-Node
1.1.3Bug fixed:Issue #22
1.1.4Issue #23
1.1.5Bug fixed: Problem with Package.json in 1.1.4
1.1.7Bug fix and add new Geolocation-Provider (BingMaps, Geoapify, LocationIQ, Positionstack, Tomtom)
1.1.8Bug fix and add distances (remove slow Elevation APIIssue #27)

Bugs and feature requests

Please create an issue inGitHub

About

Node to get the current locations and other metrics of connected Apple devices.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp